Promote
Promote project-scoped instincts to global scope
- Type
- Slash Command
- Repository
- affaan-m/ECC
- GitHub stars
- 268k
- License
- MIT
- Repo last updated
- Sep 24, 2026
- Source file
- commands/promote.md
What Promote is
Promote is a slash command published in the affaan-m/ECC repository on GitHub, which has about 268k stars. The repository describes itself as: “The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Promote gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Promote
Claude Code
- Download promote.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from commands/promote.md, shared under the repository's MIT license. Read the full file on GitHub.
Promote instincts from project scope to global scope in continuous-learning-v2.
Implementation
Run the instinct CLI using the plugin root path:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" promote [instinct-id] [--force] [--dry-run]Or if CLAUDE_PLUGIN_ROOT is not set (manual installation):
python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py promote [instinct-id] [--force] [--dry-run]Usage
/promote # Auto-detect promotion candidates
/promote --dry-run # Preview auto-promotion candidates
/promote --force # Promote all qualified candidates without prompt
/promote grep-before-edit # Promote one specific instinct from current projectWhat to Do
- Detect current project
- If instinct-id is provided, promote only that instinct (if present in current project)
- Otherwise, find cross-project candidates that:
- Appear in at least 2 projects
- Meet confidence threshold
- Write promoted instincts to ~/.claude/homunculus/instincts/personal/ with scope: global
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Promote?
Promote is a slash command for Claude Code and Claude Cowork from the affaan-m/ECC repository on GitHub. Promote project-scoped instincts to global scope
How do I install Promote in Claude Code?
Download promote.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Promote in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Promote safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Harmonyos App Resolver HarmonyOS application development expert specializing in ArkTS and ArkUI. Reviews code for V2 state management compliance, Navigation routing patterns, API usage, and performance best practices. Use for HarmonyOS/OpenHarmony projects. Subagent · affaan-m/ECC
- Go Reviewer Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance. Use for all Go code changes. MUST BE USED for Go projects. Subagent · affaan-m/ECC
- Healthcare Reviewer Reviews healthcare application code for clinical safety, CDSS accuracy, PHI compliance, and medical data integrity. Specialized for EMR/EHR, clinical decision support, and health information systems. Subagent · affaan-m/ECC
- Harness Optimizer Analyze and improve the local agent harness configuration for reliability, cost, and throughput. Subagent · affaan-m/ECC
- Prune Delete pending instincts older than 30 days that were never promoted Slash Command · affaan-m/ECC
- Projects List known projects and their instinct statistics Slash Command · affaan-m/ECC
- Skill Create Analyze local git history to extract coding patterns and generate SKILL.md files. Local version of the Skill Creator GitHub App. Slash Command · affaan-m/ECC
- Instinct Status Show learned instincts (project + global) with confidence Slash Command · affaan-m/ECC