repo-intel
Use when user asks to \"run repo intel\", \"generate repo map\", \"analyze repo\", \"query hotspots\", \"check ownership\", or \"bus factor\". Unified static analysis - git history, AST symbols, project metadata.
npx skills add agent-sh/agentsys --skill repo-intel --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Repo Intel Skill Unified static analysis - git history intelligence, AST symbol mapping, and project metadata via agent-analyzer. ## Parse Arguments ```javascript const args = '$ARGUMENTS'.split(' ').filter(Boolean); const action = args.find(a => !a.startsWith('--')) || 'status'; const force = args.includes('--force'); ``` ## Primary Responsibilities 1. **Initialize** on demand (`/repo-intel init`) 2. **Update** incrementally (`/repo-intel update`) 3. **Query** git history data (`/repo-intel query hotspots`) 4. **Check status** and staleness (`/repo-intel status`) 5. **Validate output** with the map-validator agent ## Core Data Contract Repo intel data is stored in the platform state directory: - Claude Code: `.claude/repo-intel.json`, `.claude/repo-map.json` - OpenCode: `.opencode/repo-intel.json`, `.opencode/repo-map.json` - Codex CLI: `.codex/repo-intel.json`, `.codex/repo-map.json` ## Behavior Rules - **Never** install dependencies without explicit user consent - **Always** validate output with `map-validator` after init/update - **Prefer** incremental update unless data is stale or history rewritten ## When to Suggest Repo Intel If a user asks for drift detection, documentat
- Parse Arguments
- Primary Responsibilities
- Core Data Contract
- Behavior Rules
- When to Suggest Repo Intel
- Staleness Signals
- Output Expectations
What does the repo-intel skill do?
Use when user asks to \"run repo intel\", \"generate repo map\", \"analyze repo\", \"query hotspots\", \"check ownership\", or \"bus factor\". Unified static analysis - git history, AST symbols, project metadata.
How do I install it?
Run `npx skills add agent-sh/agentsys --skill repo-intel --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From agent-sh/agentsys, a repository with 923 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.