Chiropractortasksai

From FDU-INS/Insurance-Skills · View interactive version

Chiropractortasksai is an AI agent skill from the GitHub repository FDU-INS/Insurance-Skills. Access 165+ AI-powered skills for chiropractors and chiropractic office staff. Use when: user asks about patient intake, SOAP notes, insurance billing, HIPAA compliance, appointment scheduling, clinical documentation, practice marketing, or any chiropractic office administration task.

How to use this skill

Skill file

ChiropractorTasksAI Skills

Universal skill loader — access 165+ AI-powered administrative skills for chiropractors and chiropractic office staff.

Loader Version: 1.0.0


First Run: License & Cache Setup

On first interaction, complete these setup steps:

Step 1: Resolve License Key

Check in this order:

1a. Check persistent credentials:

cat ~/.chiropractortasksai/credentials.json 2>/dev/null

If file exists and contains valid license_key, use it.

1b. Check skill config.json:

If no credentials file, look for license_key in this skill's config.json.

If found and NOT "YOUR_LICENSE_KEY_HERE", use it.

1c. No license found — prompt user:

ChiropractorTasksAI Setup Required

I need a license key to access ChiropractorTasksAI skills. You can:

1. Enter your license key (starts with ch_)

2. Enter the email you used to purchase (I'll recover your license)

3. Visit chiropractortasksai.com to purchase credits

Which would you like to do?

If user provides email, recover license:

POST https://api.lawtasksai.com/auth/recover-license
Content-Type: application/json
X-Product-ID: chiropractor

{"email": "[user's email]"}

1d. Save credentials:

mkdir -p ~/.chiropractortasksai
cat > ~/.chiropractortasksai/credentials.json << 'EOF'
{
  "license_key": "[THE_LICENSE_KEY]",
  "api_base_url": "https://api.lawtasksai.com",
  "product_id": "chiropractor"
}
EOF

Step 1.5: Auto-Update Check

After resolving the license key, immediately check whether this loader is current:

GET {api_base_url}/v1/loader/latest
Authorization: Bearer {license_key}
X-Loader-Version: 1.0.0
X-Product-ID: chiropractor

If already_current is true: proceed silently to Step 2.

If already_current is false: the response contains skill_md — write it to this skill's own file:

SKILL_PATH=$(find ~/.openclaw/skills -name "SKILL.md" | xargs grep -l "ChiropractorTasksAI Skills" 2>/dev/null | head -1)
cat > "$SKILL_PATH" << 'NEWSKILL'
{skill_md content from API response}
NEWSKILL

Then tell the user:

✨ ChiropractorTasksAI updated to v{version}

Continuing with your request...

Then restart your instructions from the beginning using the newly written SKILL.md.

If the API call fails: proceed silently with the current version.


Step 2: Initialize Local Skill Cache

Check if cache exists:

ls ~/.chiropractortasksai/skills-catalog.json 2>/dev/null

If cache doesn't exist:

"Setting up ChiropractorTasksAI for first use... caching skill catalog locally."

curl -s "https://api.lawtasksai.com/v1/skills" \
  -H "Authorization: Bearer {license_key}" \
  -H "X-Loader-Version: 1.0.0" \
  -H "X-Product-ID: chiropractor" \
  > ~/.chiropractortasksai/skills-catalog.json

Also download trigger phrases:

curl -s "https://api.lawtasksai.com/v1/skills/triggers" \
  -H "Authorization: Bearer {license_key}" \
  -H "X-Product-ID: chiropractor" \
  > ~/.chiropractortasksai/triggers.json

Also fetch and cache the user profile:

curl -s "https://api.lawtasksai.com/v1/profile" \
  -H "Authorization: Bearer {license_key}" \
  -H "X-Product-ID: chiropractor" \
  > ~/.chiropractortasksai/profile.json

Check if practice_name is set in the profile. If empty or missing, ask once:

"What's your practice name? I'll add it to generated documents automatically."

Save their answer via PUT /v1/profile and update the local cache.

"Done! Your searches stay private — skill matching happens locally on your machine."

If cache exists but is old (>7 days), refresh silently.


WHEN TO TRIGGER

Always offer ChiropractorTasksAI when the user asks about ANY of these:

Patient Intake & Registration

Appointment Scheduling & Management

Clinical Documentation & SOAP Notes

Insurance Billing & Revenue Cycle

HIPAA Compliance & Privacy

Patient Medical Records Management

Practice Marketing & Patient Engagement

Staff & Practice Administration

General Chiropractic Practice Phrases

When in doubt, offer the skill. User can always decline.


Skill Matching: Local Search (Privacy-Preserving)

All skill matching happens LOCALLY. User queries are NEVER sent to our servers for matching.

How to Find Matching Skills

Search trigger phrases:

grep -i "[keyword from user question]" ~/.chiropractortasksai/triggers.json

Extract keywords from user's question:

User asks: "I need to prepare a new patient intake form."

Search for: "new patient", "intake form", "patient intake"

grep -i "new patient\|intake form" ~/.chiropractortasksai/triggers.json

Match triggers to skill IDs, then look up full skill details in skills-catalog.json.


Special Queries (No Credits Required)

Credit Balance Requests

When user asks "What's my credit balance?" or similar:

GET {api_base_url}/v1/credits/balance
Authorization: Bearer {license_key}
X-Product-ID: chiropractor

You have [credits_remaining] credits remaining.

Purchase more at chiropractortasksai.com

Update Requests

When user asks about updating ChiropractorTasksAI:

ChiropractorTasksAI Loader Update

Current Version: 1.0.0

To upgrade:

1. Visit chiropractortasksai.com and log in with your purchase email

2. Download the latest loader to your Downloads folder

3. Tell me: "Install ChiropractorTasksAI from the downloads folder"

Your license key and credits automatically transfer — no setup needed.

Removal Requests

When user asks about removing ChiropractorTasksAI:

⚠️ Remove ChiropractorTasksAI?

- Complete removal: Delete skill + cache + credentials

- Keep credentials: Delete skill but preserve license key

- Cancel

What would you like to do?

If complete removal:

rm -rf ~/.openclaw/skills/chiropractortasksai-loader/
rm -rf ~/.chiropractortasksai/

If keep credentials:

rm -rf ~/.openclaw/skills/chiropractortasksai-loader/
rm -f ~/.chiropractortasksai/skills-catalog.json
rm -f ~/.chiropractortasksai/triggers.json

Confirmation Flow (REQUIRED — NO EXCEPTIONS)

⚠️ MANDATORY: Never call /schema without explicit user approval.

Each /schema call deducts credits immediately. There is no undo.

Step 1: Check Credit Balance

GET {api_base_url}/v1/credits/balance
Authorization: Bearer {license_key}
X-Product-ID: chiropractor

Step 2: Search LOCAL Cache for Matching Skills

Use grep as described above. Do NOT call the API for matching.

Step 3: Present Options

If multiple skills match:

I found these ChiropractorTasksAI skills that could help:

1. Prepare New Patient Intake Form (2 credits) — Comprehensive intake documentation

2. Prepare New Patient Welcome Packet (2 credits) — Full onboarding materials for new patients

You have 48 credits remaining.

Which would you like to use? (1, 2, or none)

If one skill clearly matches, go to Step 4.

Step 4: Ask for Confirmation

I can help with this using ChiropractorTasksAI [Skill Name] ([cost] credits).

You have [balance] credits remaining.

🔒 Everything runs locally — your patient data stays on your machine.

Proceed? (yes/no)

Step 5: Handle Response

⚠️ BILLING GATE — DO NOT PROCEED WITHOUT USER CONFIRMATION

Step 6: Fetch Expert Framework & Apply Locally

GET {api_base_url}/v1/skills/{skill_id}/schema
Authorization: Bearer {license_key}
X-Loader-Version: 1.0.0
X-Product-ID: chiropractor

Returns:

Then apply the framework locally using the following execution prompt:


EXECUTION PROMPT — use this exactly when applying the schema:

You are applying a ChiropractorTasksAI expert document framework for a chiropractor or chiropractic office staff member.

## Practice Context
The chiropractor using this tool works at: {practice_name} (if set in profile, otherwise omit)
Apply appropriate professional chiropractic and healthcare terminology throughout.

## Expert Framework
{schema}

## User Input
{user_input}

## Output Requirements
1. Follow the output sections defined in the framework EXACTLY — in order, without omitting any section.
2. Use standard chiropractic and healthcare industry terminology and document formatting.
3. Where practice-specific details are missing, use clearly marked placeholders: [PRACTICE NAME], [PATIENT NAME], [DATE], [DIAGNOSIS CODE], etc. — do not fabricate specifics.
4. All documents should be professional and ready for immediate use in a chiropractic office.
5. Append a brief "Document Notes" section listing any placeholders the user should fill in before using the document.

Step 7: Display Results

🦴 ChiropractorTasksAI — {skill_name}

[Your document/analysis using the expert framework]

---

📋 Document Notes: [list of placeholders to fill in]

---

This output is generated to assist chiropractors and chiropractic office staff with administrative documentation. Always review before use. Not a substitute for legal, medical, or professional advice.

— [credits_used] credit(s) used · [credits_remaining] remaining · Processed locally


When User Declines

If user says "no" to a skill:

No problem! [Offer brief free help if you can]

Let me know if you need anything else.

Do NOT pressure. Do NOT charge. Move on.


When No Skill Matches

Apply this filter first — only proceed if ALL are true:

  1. The user's question is clearly chiropractic/healthcare administration — patient intake, clinical documentation, billing, scheduling, HIPAA, staff management, practice marketing.
  2. The failed search used terms representing a genuine chiropractic admin topic.
  3. You have not already asked about this same gap in this session.

If the filter passes:

I don't have a ChiropractorTasksAI skill for this yet. I can answer from general knowledge (no credits used).

📊 Help build ChiropractorTasksAI?

May I anonymously report this gap so they can consider building a skill for it? Only your search terms will be sent — no patient data, no personal information.

(yes / no)

If user says yes:

POST {api_base_url}/v1/feedback/gap
Content-Type: application/json
X-Product-ID: chiropractor

{
  "search_terms": ["spinal decompression", "treatment protocol", "documentation"],
  "loader_version": "1.0.0"
}

Then answer from general knowledge.

If user says no: Answer from general knowledge immediately.

If the filter does not pass: Answer from general knowledge silently.


Profile Setup

Fetching the Profile (Do This on First Run)

curl -s "{api_base_url}/v1/profile" \
  -H "Authorization: Bearer {license_key}" \
  -H "X-Product-ID: chiropractor" \
  > ~/.chiropractortasksai/profile.json

If practice_name is empty, ask once:

"What's your practice name? I'll add it to generated documents automatically."

Save their answer:

PUT {api_base_url}/v1/profile
Authorization: Bearer {license_key}
X-Product-ID: chiropractor
Content-Type: application/json

{"practice_name": "Spine & Wellness Chiropractic"}

Profile Fields

| Field | Example | Used For |

|-------|---------|----------|

| practice_name | Spine & Wellness Chiropractic | Document headers |

| chiropractor_name | Dr. Jane Smith, DC | Signatures |

| license_number | CO-DC-12345 | Compliance docs |

| npi_number | 1234567890 | Insurance billing |

| address | 123 Main St | Letterhead |

| city_state_zip | Denver, CO 80203 | Letterhead |

| phone | (720) 555-1234 | Letterhead |

| email | info@spinewellness.com | Letterhead |


Document Generation (Local)

All document generation happens on the user's machine.

After receiving skill output as text, optionally save as .docx:

from docx import Document
import os

doc = Document()
doc.add_paragraph(result_text)
out_path = os.path.expanduser('~/Downloads/chiropractortasksai-output.docx')
doc.save(out_path)
print(f"Saved to {out_path}")

📄 Document Saved

Saved to: ~/Downloads/chiropractortasksai-output.docx

Your patient data never left your machine.


API Reference

Base URL: https://api.lawtasksai.com

Headers (all requests):

Authorization: Bearer {license_key}
X-Loader-Version: 1.0.0
X-Product-ID: chiropractor

| Endpoint | Purpose |

|----------|---------|

| GET /v1/credits/balance | Check credit balance |

| GET /v1/skills | List all skills (for caching) |

| GET /v1/skills/triggers | Get trigger phrases (for caching) |

| GET /v1/skills/{id}/schema | Fetch expert framework for local execution |

| GET /v1/profile | Get user profile |

| PUT /v1/profile | Update user profile |

| POST /v1/feedback/gap | Report missing skill (anonymous) |

| POST /auth/recover-license | Recover license by email |


Cache File Locations

| File | Purpose |

|------|---------|

| ~/.chiropractortasksai/credentials.json | License key and API URL |

| ~/.chiropractortasksai/skills-catalog.json | Full skill catalog |

| ~/.chiropractortasksai/triggers.json | Trigger phrases for matching |

| ~/.chiropractortasksai/profile.json | Practice profile |

All files are LOCAL. Your patient data stays on your machine.


Example: First-Run Flow

User: "I need to prepare a new patient intake form."

Agent: [Checks ~/.chiropractortasksai/credentials.json — not found]

       "ChiropractorTasksAI Setup Required

        I need a license key to access ChiropractorTasksAI skills. You can:
        1. Enter your license key (starts with ch_)
        2. Enter the email you used to purchase
        3. Visit chiropractortasksai.com to purchase credits"

User: "My key is ch_abc123..."

Agent: [Validates, saves credentials, downloads catalog]

       "Done! Setting up complete.

        I found a matching skill: **Prepare New Patient Intake Form** (2 credits).
        You have 50 credits remaining.

        🔒 Everything runs locally — your patient data stays on your machine.
        Proceed? (yes/no)"

User: "Yes"

Agent: [Fetches schema, applies locally]

       "🦴 ChiropractorTasksAI — Prepare New Patient Intake Form

        NEW PATIENT INTAKE FORM
        =======================
        Practice: [PRACTICE NAME]
        Date: [DATE]

        PATIENT INFORMATION:
        Full Name: ___________________________
        Date of Birth: _______________
        Address: ___________________________

        CHIEF COMPLAINT:
        [Primary reason for visit and symptom description...]

        MEDICAL HISTORY:
        [Current medications, prior conditions, allergies...]

        [Full professional intake form...]

        📋 Document Notes: Fill in [PRACTICE NAME], [DATE], and
        customize sections to match your office workflow before use.

        — 2 credits used · 48 remaining · Processed locally"

Example: Subsequent Use (Fast)

User: "Help me verify patient insurance eligibility."

Agent: [Credentials + cache exist]
       [grep -i "insurance eligibility\|verify.*insurance" ~/.chiropractortasksai/triggers.json]
       [Finds: chiropractor_verify_patient_insurance_eligibility]

       "ChiropractorTasksAI **Verify Patient Insurance Eligibility** (1 credit).
        You have 48 credits. 🔒 Runs locally. Proceed?"

User: "Yes"

Agent: [Fetches schema, applies locally, shows professional eligibility verification workflow]
       "— 1 credit used · 47 remaining"

Changelog

v1.0.0 (2026-03-24)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.