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.
Reverts the last task's file changes using git. Reads task history for modified files and git reference, shows a preview, requires user confirmation, then reverts and updates the index.
$ npx -y skills add d3x293/code-crew --skill task-rollback --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/task-rollbackContext preview
The summary Claude sees to decide when to auto-load this skill.
Reverts the last task's file changes using git. Reads task history for modified files and git reference, shows a preview, requires user confirmation, then reverts and updates the index.
name: task-rollback description: Reverts the last task's file changes using git. Reads task history for modified files and git reference, shows a preview, requires user confirmation, then reverts and updates the index.
Reverts file changes made by the most recent `/crew task` execution using git.
If history is missing: "No task history found. Nothing to roll back." If not a git repo: "Not a git repository. Rollback requires git."
Read `.claude/crew-history.json` and get the last entry:
Display what will be rolled back:
Rollback: "{task}" ({timestamp})
Files: {file1}, {file2}, {file3}
Revert to: {gitRefBefore}**This is mandatory — never skip confirmation.**
Ask: "Proceed with rollback? (y/n)"
If user says no: "Cancelled."
Two strategies based on available data:
**Strategy A: gitRefBefore is available (preferred)**
git checkout {gitRefBefore} -- {file1} {file2} {file3}This reverts only the specific files to their pre-task state without affecting other changes.
**Strategy B: gitRefBefore is not available (fallback)**
git diff HEAD -- {file1} {file2} {file3} # Show what will change
git checkout HEAD~1 -- {file1} {file2} {file3} # Revert to previous commitWarning: This is less precise — only works if the task's changes are in the most recent commit.
**If files have been modified since the task** (additional changes on top):
After rollback: 1. Invoke the `index-updater` skill for all reverted files 2. This ensures the index reflects the rolled-back state
Mark the last task entry in history:
{
"...existing fields...",
"rolledBack": true,
"rolledBackAt": "2026-04-04T13:00:00Z"
}Rolled back {count} files. Index updated.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…
Keeps the 3-layer codebase index fresh after file edits. Performs incremental updates by recomputing hashes and re-extracting metadata for only changed files.