agentleFS
DKutzen22DKutzen22/synapse/skills/doctor/SKILL.md

doctor

Skill1 starsChanged 9 days agoMITView on GitHub

Command entrypoint to diagnose repository health. Catches /doctor and delegates mount audits to the scout subagent.

96 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use uninstall, cancel and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    uninstall

    Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.

    Also in 6 projects that use this

  • woosikkimSkill

    cancel

    Clear any stale OMC-Slim state

    Also in 4 projects that use this

  • ibahgatSkill

    hud

    Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.

    Also in 3 projects that use this

  • ibahgatSkill

    ralplan

    Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

    Also in 3 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 3 projects that use this

  • Arman-KudaibergenovSkill

    inspect

    Этот скилл MUST быть вызван для анализа и инспекции любого объекта 1С из XML-выгрузки: конфигурация (cf-info), объект метаданных (meta-info), управляемая форма (form-info), схема компоновки данных СКД (skd-info), макет табличного документа MXL (mxl-info), подсистема (subsystem-info), роль и права (role-info). SHOULD вызывать как подготовительный шаг перед любой модификацией объекта. Do NOT использовать для модификации — для изменений используй соответствующие edit/compile скиллы.

    Also in 4 projects that use this

  • +1 more from ibahgat

The file

Files
SKILL.md

/doctor

User-facing command interface for auditing the physical integrity, environment dependencies, and mounting contracts of the Synapse repository.

[!NOTE] Dispatch Flow: /doctor (Skill Entrypoint) $\longrightarrow$ agents/scout.md (Execution Worker). Skills trigger subagents; subagents never trigger skills.

Execution Steps

1. Locate Repository Root

REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
cd "$REPO_ROOT"
echo "==> Running Synapse Doctor at $REPO_ROOT"

2. Verify Manifests & Configurations

Validate JSON manifests and apm.yml:

python3 -m json.tool hooks.json > /dev/null
python3 -m json.tool rules.json > /dev/null
python3 -m json.tool skills.json > /dev/null
python3 -m json.tool agents.json > /dev/null
python3 -m json.tool mcp.json.template > /dev/null
python3 -c "import yaml; d = yaml.safe_load(open('apm.yml')); assert all(k in d for k in ['name', 'namespace', 'version', 'targets'])"
echo "✓ Manifests are valid."

3. Delegate Symlink & Mount Audit to Scout Subagent

Invoke the specialized scout subagent (agents/scout.md) to verify mount topology and consumer configurations:

Task: Audit relative symlink integrity, .git/info/exclude entries, and fleet mount registrations.
Target Script: scripts/sync-all-repos.sh --check.
Registry: ${XDG_CONFIG_HOME:-$HOME/.config}/agents/linked-repos.txt.

4. Verify Git Hooks & Helper Scripts

Confirm Git hooks and helper scripts are executable and syntactically valid:

test -x .githooks/pre-commit || chmod +x .githooks/pre-commit
for s in scripts/*.sh scripts/*.py; do
    test -x "$s" || chmod +x "$s"
done
sh -n scripts/*.sh
python3 -m py_compile scripts/*.py
echo "✓ Scripts and hooks verified."

5. Verify Cross-Links & Distribution Checksums

  • Audit documentation links: python3 scripts/check-links.py --root .
  • Verify distribution archives:
    if [ -d "dist" ] && [ -f dist/*.zip ]; then
        (cd dist && sha256sum -c *.sha256 2>/dev/null || true)
    fi

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.