integration-strategy
Skill2 starsChanged 8 months agoMITView on GitHub
Blueprint for integrating new skills into Family Doctor. Use when adding a new skill, modifying routing rules, or planning how skills connect to the orchestrator. Triggers on \"add new skill\", \"integrate\", \"routing\", \"how do skills connect\".
In this repository27 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- care-coordinatorSkill
- chronic-careSkill
- developer-workflowSkill
- document-toolsSkill
- emergency-preparednessSkill
- family-doctorSkill
- family-healthSkill
- fitness-coachSkill
- general-browser-searchSkill
- goal-trackerSkill
- health-timelineSkill
- health-trend-analyzerSkill
- lifestyle-coachSkill
- medication-managerSkill
- mental-healthSkill
- musculoskeletal-careSkill
- nutrition-advisorSkill
- preventive-careSkill
- pubmed-searchSkill
- scriptsSkill
- sleep-analyzerSkill
- symptom-assistantSkill
- vaccination-trackerSkill
- vital-monitorSkill
- weight-managerSkill
- womens-healthSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
Update family-doctor/SKILL.md routing table with:
- Distinctive: line 77
All external skills must support:
- Distinctive: line 125
Verify skill file loads correctly
- Very specific: line 126
Test routing from family-doctor entry point
- Very specific: line 128
Verify citation output to health/References/
- Distinctive: line 129
Check data contract compliance
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Integration Strategy
Blueprint for integrating new skills into the Family Doctor suite.
When to Use
- Adding a new skill to the family-doctor ecosystem
- Modifying how skills connect to the orchestrator
- Planning routing rules for new capabilities
- Designing data contracts between skills
Skill Types in Family Doctor
| Type | Examples | Routing |
| Orchestrator | family-doctor | Entry point, routes to others |
| Clinical | chronic-care, vital-monitor | Health domain skills |
| Lifestyle | nutrition-advisor, fitness-coach | Behavioral skills |
| Mental Health | mental-health | Psychological skills |
| General-Core | pubmed-search, general-browser-search | External knowledge |
| Support | care-coordinator, emergency-preparedness | Coordination skills |
Integration Checklist
1. Create Skill File
Create family-doctor/[skill-name]/SKILL.md:
---
name: [skill-name]
description: One-line description. Triggers on keywords.
allowed-tools: [tool1, tool2]
---
# [Skill Name]
... detailed instructions ...2. Add to Routing Table
Update family-doctor/SKILL.md routing table with:
- Entry trigger pattern (regex or keywords)
- Parent skill (usually "family-doctor")
- Output contract format
3. Define Data Contracts
Input Contract
{
"query": "string",
"context": "object",
"preferences": "object"
}Output Contract
{
"query": "string",
"results": [],
"confidence": 0.0-1.0,
"authorization": "session-wide|per-query|none"
}4. Configure Authorization
All external skills must support:
| Mode | Behavior |
session-wide | User consented once for all queries this session |
per-query | User approves each query individually |
none | No external access (default) |
5. Define Reference Schema
For health data:
{
"id": "uuid",
"topic": "string",
"query": "string",
"date": "YYYY-MM-DD",
"sources": ["source names"],
"summary": "string"
}Store at: health/References/
Routing Priority
Lower number = checked first:
| Skill | Priority | Reason |
| family-doctor | 0 | Entry point |
| general-browser-search | 10 | External guidelines |
| pubmed-search | 20 | Literature |
| clinical skills | 30 | Domain-specific |
| lifestyle skills | 40 | Behavioral |
| support skills | 50 | Coordination |
Conflicts to Avoid
| New Skill | Don't Overlap With |
| general-browser-search | pubmed-search (different sources) |
| pubmed-search | general-browser-search |
| clinical skills | Each other in same domain |
Testing Integration
- Verify skill file loads correctly
- Test routing from family-doctor entry point
- Test authorization flow
- Verify citation output to health/References/
- Check data contract compliance
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

