@ajhcs/healthcare-agents
AHealthcare Agents Repository Instructions
Install
agr install @ajhcs/healthcare-agents --target codexWrites 1 file into AGENTS.md, pinned to git-c98c74ea.
- AGENTS.md
Document
Healthcare Agents Repository Instructions
Repository Map
- Agent prompts live in
agents/*.md. - The simple self-improvement kit lives in
.claude/commands/eval.md,eval/rubric.md,eval/results.tsv, andeval/role-baselines/. - The old Python eval harness has been removed. The active eval path is the simple self-improvement kit above.
- This repo uses
bdas the active bead tracker. If external skills or copied prompts mentionbrorbv, translate to the equivalentbdworkflow instead of abandoning tracker work. Useful local commands:bd prime,bd show <id>,bd children <id>,bd ready -n 100,bd list --json,bd dep tree <id>,bd update <id> --claim, andbd close <id> --reason "..."after current evidence proves the acceptance criteria. - Use
bd-agent-sync pullbefore creating, claiming, updating, or closing beads, andbd-agent-sync pushafter Beads changes. Do not create markdown TODO ledgers, scratch JSONL files, or parallel agent backlogs..beads/issues.jsonlis the only supported JSONL bridge and must be managed bybd importandbd export, not hand-edited.bd syncis not available in bd 1.0.2 on Plumbob.
Git Workflow
- Do not push directly to
main. - For requested edits, create a short-lived branch, commit there, push the branch, open a PR, and merge the PR with
gh pr merge. - Do not merge the feature branch into local
mainbefore opening or merging the PR. That creates duplicate local merge commits and makesmainappear ahead/behind after GitHub merges the PR. - After a PR is merged, run
git fetch origin --pruneand align localmaintoorigin/mainbefore continuing work. - For docs-only or metadata-only changes, the streamlined path is: branch -> commit -> push branch ->
gh pr create->gh pr merge --merge --delete-branch-> sync localmain.
Self-Improvement Loop
- When asked to run the healthcare self-improvement loop for an agent, first read
.claude/commands/eval.mdand execute that procedure as a normal task, substituting$ARGUMENTSwith the requested agent slug. - Treat
.claude/commands/eval.mdas the canonical workflow for both Claude Code and Codex. - If the runtime supports native subagents or model specialization, prefer a strongest scorer/judge plus a faster editor, with the parent agent owning git writes and
eval/results.tsv. - Avoid recursive CLI invocation when native subagents are available.
- Never modify
eval/rubric.mdor any file undereval/role-baselines/. - Never modify
eval/results.tsvexcept to append rows. - Preserve the agent's distinctive role identity; do not flatten prompts into generic "best practices" boilerplate.
- During a normal eval run, only edit the requested
agents/<slug>.md, appendeval/results.tsv, and write local ignored artifacts undereval/run-logs/.
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-c98c74ea55962026-08-04