بنقرة واحدة
intelligence-uninstall-adapter
Disable IDE adapter and clean up output
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Disable IDE adapter and clean up output
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create new specialized agent
Audit the intelligence layer for duplication, drift, size, hardcoded paths and framing
Enable IDE adapter for intelligence-sync
Capture session lessons and apply to intelligence/ after approval
Create new skill
Update or migrate intelligence-sync: discover engine, read changelog, run migration chain, verify
| name | intelligence-uninstall-adapter |
| description | Disable IDE adapter and clean up output |
| argument-hint | <target-name> |
The umbrella is whatever directory holds config.yaml (intelligence/, Intelligence/, a codename — never assume the name or casing); the engine module is the directory under it holding scripts/sync.sh (conventionally sync/).
Set enabled: false for the target in config.yaml.
Remove only the paths the adapter owns — never the output root. Several adapters write into a shared root that also holds files nobody generated: .github/ holds workflows/, .claude/ holds settings.json, .opencode/ holds opencode.json. Deleting the root destroys hand-authored work, and no adapter ever does that on re-sync.
| Target | Remove | Keep (never adapter-owned) |
|---|---|---|
claude | .claude/rules/, .claude/agents/, skill subdirs in .claude/skills/ | .claude/ itself, settings.json, settings.local.json, commands/ |
cursor | .cursor/rules/, .cursor/agents/, .cursor/skills/ | .cursor/ itself, settings.json |
copilot | .github/instructions/, .github/prompts/, .github/agents/, skill subdirs in .github/skills/ | .github/ itself, workflows/, ISSUE_TEMPLATE/, a hand-authored copilot-instructions.md |
codex | .codex/agents/ | .codex/ itself |
pi | .pi/intelligence-sync/, .pi/extensions/intelligence-sync-rules.ts, .pi/prompts/intelligence-agent-*.md | .pi/settings.json, any other extension or prompt |
opencode | .opencode/agents/, and only the files in .opencode/commands/ carrying the <!-- Generated by intelligence-sync. Do not edit manually. --> marker | .opencode/opencode.json, hand-authored commands |
agents | AGENTS.md — only if the user confirms; it is a committed project doc | — |
.agents/skills/ is shared by codex, pi and opencode. Remove it only when none of those three remains enabled.
For an adapter not in this table (a project adapter under <umbrella>/adapters/), read its sync_to_<name>() cleanup block: whatever it deletes on every re-sync is exactly what it owns.
Remove the adapter's paths from .gitignore if nothing else needs them.
Run /intelligence-sync to regenerate the remaining targets.
Verify — an uninstall that removed the wrong thing must not pass quietly:
IS_STATUS=ok;.github/workflows/, .claude/settings.json, .opencode/opencode.json, hand-authored commands);Report: adapter disabled, which paths were removed, which were deliberately kept, and the verification result.