agent-manager
Creates, lists, and removes custom project-specific agents. Custom agents are stored in .claude/crew-agents/ and registered in crew-team.json for routing.
Keeps the 3-layer codebase index fresh after file edits. Performs incremental updates by recomputing hashes and re-extracting metadata for only changed files.
$ npx -y skills add d3x293/code-crew --skill index-updater --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/index-updaterContext preview
The summary Claude sees to decide when to auto-load this skill.
Keeps the 3-layer codebase index fresh after file edits. Performs incremental updates by recomputing hashes and re-extracting metadata for only changed files.
name: index-updater description: Keeps the 3-layer codebase index fresh after file edits. Performs incremental updates by recomputing hashes and re-extracting metadata for only changed files.
Keeps `.claude/crew-index.json` and `.claude/crew-symbols.json` up-to-date after code changes without rebuilding the entire index.
The agent that made changes should report which files were modified. Alternatively, check file hashes:
For each file in crew-index.json: 1. Compute current hash: shasum -a 256 <filepath> 2. Compare with stored hash 3. If different → mark for update 4. If file deleted → mark for removal
For each changed file: 1. Read the file 2. Recompute: hash, size, lines, exports, imports, functions, classes 3. Regenerate summary 4. Replace the file's entry in crew-index.json
For deleted files: 1. Remove the file's entry from crew-index.json
For new files (detected via Glob that aren't in index): 1. Read and extract full metadata 2. Add new entry to crew-index.json
For each changed file: 1. Re-extract all symbols (functions, classes, methods) with signatures and line ranges 2. Re-scan for calls to known symbols 3. Update calledBy relationships for affected symbols in other files 4. Replace all symbols for this file in crew-symbols.json 5. Rebuild affected callGraph entries
1. Recompute contentHash from all file hashes 2. Update stats (totalFiles, totalLines) 3. Update lastIndexed timestamp
Every agent prompt includes this instruction:
After making any file changes, report them for index update: "FILES_MODIFIED: src/parser.js, src/scraper.js" The orchestrator will trigger incremental index update for these files.
This is more efficient than hash-checking every file after every edit.
If an agent reads the index and finds information that doesn't match reality: 1. The symbol doesn't exist at the listed line range 2. A file listed in the index doesn't exist 3. A function's signature has changed
Then: trigger incremental update for that specific file before proceeding.
When called by the execution-orchestrator with a list of modified files after task completion:
**Input**: Deduplicated list of file paths reported by agents via `FILES_MODIFIED`
**Process**: 1. For each file in the list:
2. Rebuild affected `callGraph` edges — only edges involving the changed files, not the entire graph 3. Update `calledBy` relationships for symbols in other files that reference changed symbols 4. Update global metadata: recompute `contentHash` from all file hashes, update `stats.totalFiles`, `stats.totalLines`, set `lastIndexed` to current timestamp
**Output**: Report `"{N} files updated, {M} new, {K} removed"` back to the orchestrator
**Performance**: This should complete quickly for typical task outputs (1-10 files). For 10+ files, consider batching the Layer 2 symbol re-extraction.
A virtual dev crew for Claude Code — 11 specialized AI agents that decompose, implement, review, and ship your tasks. Instead of one AI doing everything, CodeCrew breaks work into subtasks and routes each to the right specialist on the right model.
Repo: d3x293/code-crew
Creates, lists, and removes custom project-specific agents. Custom agents are stored in .claude/crew-agents/ and registered in crew-team.json for routing.
3-layer codebase indexing system for token-efficient code navigation. Builds compact index + symbol map so agents read targeted lines instead of entire files.…
Manages CodeCrew configuration. Allows users to customize default mode, model tiers, agent activation, token budgets, and auto-index settings without editing…
Analyzes a project codebase, builds 3-layer index, generates project profile, and auto-configures the agent team with relevant skills. The main initialization…
Smart hybrid execution engine that dispatches agents in parallel or sequential order based on task dependencies. Manages the Agent tool calls, result…
Lite task router that bypasses Opus CEO entirely. Classifies tasks and routes directly to Sonnet and Haiku agents only. Use when user runs /crew lite or /crew…