repo-intel
Repo Intel Skill
Unified static analysis - git history intelligence, AST symbol mapping, and project metadata via agent-analyzer.
Parse Arguments
const args = '$ARGUMENTS'.split(' ').filter(Boolean);
const action = args.find(a => !a.startsWith('--')) || 'status';
const force = args.includes('--force');
Primary Responsibilities
- Initialize on demand (
/repo-intel init) - Update incrementally (
/repo-intel update) - Query git history data (
/repo-intel query hotspots) - Check status and staleness (
/repo-intel status) - 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-validatorafter init/update - Prefer incremental update unless data is stale or history rewritten
When to Suggest Repo Intel
If a user asks for drift detection, documentation alignment, or repo analysis and repo-intel data is missing:
Repo intel data not found. For better analysis, run:
/repo-intel init
Staleness Signals
- Data commit not found (rebased)
- Branch changed
- Git hooks marked stale
- Commits behind HEAD
Output Expectations
Keep outputs concise:
- init/update: file count, symbol count, commit, warnings
- query: formatted query results
- status: staleness, commits behind, last updated
More from avifenesh/agentsys
enhance-claude-memory
Use when improving CLAUDE.md or AGENTS.md project memory files.
74debate
Structured AI debate templates and synthesis. Use when orchestrating multi-round debates between AI tools, 'debate topic', 'argue about', 'stress test idea', 'devil advocate'.
62learn
Research any topic online and create learning guides. Use when user asks to 'learn about', 'research topic', 'create learning guide', 'build knowledge base', or 'study subject'.
59consult
Cross-tool AI consultation. Use when user asks to 'consult gemini', 'ask codex', 'get second opinion', 'cross-check with claude', 'consult another AI', 'ask opencode', 'copilot opinion', or wants a second opinion from a different AI tool.
53sync-docs
Sync documentation with code. Use when user asks to update docs, check docs, fix stale documentation, update changelog, or after code changes.
52perf-investigation-logger
Use when appending structured perf investigation notes and evidence.
50