SessionStart
25Hook Claude Code
Runs when a session starts on startup, clear and compact, executing session-start.py via python3 (3 commands). From mindfold-ai/Trellis.
Hook Claude Code
Runs when a session starts on startup, clear and compact, executing session-start.py via python3 (3 commands). From mindfold-ai/Trellis.
Hook Claude Code
Runs before the agent uses a tool for Task and Agent tool calls, executing inject-subagent-context.py via python3 (2 commands). From mindfold-ai/Trellis.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, executing inject-workflow-state.py via python3. From mindfold-ai/Trellis.
Settings file Claude Code
Agent settings declaring 3 hook events (SessionStart, PreToolUse, UserPromptSubmit).
Skill Claude CodeCodex
Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki, or list indexed repos. Examples: "Index this repo", "Reanalyze the codebase", "Generate a wiki".
Skill Claude CodeCodex
Use when the user is debugging a bug, tracing an error, or asking why something fails. Examples: "Why is X failing?", "Where does this error come from?", "Trace this bug".
Skill Claude CodeCodex
Use when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of the codebase. Examples: "How does X work?", "What calls this function?", "Show me the auth flow".
Skill Claude CodeCodex
Use when the user asks about GitNexus itself — available tools, how to query the knowledge graph, MCP resources, graph schema, or workflow reference. Examples: "What GitNexus tools are available?", "How do I use GitNexus?".
Skill Claude CodeCodex
Use when the user wants to know what will break if they change something, or needs safety analysis before editing code. Examples: "Is it safe to change X?", "What depends on this?", "What will break?".
Skill Claude CodeCodex
Use when the user wants to rename, extract, split, move, or restructure code safely. Examples: "Rename this function", "Extract this into a module", "Refactor this class", "Move this to a separate file".
Skill Claude CodeCodex
Create a Trellis migration manifest and matching docs-site changelogs for a target release by analyzing commits since the previous release. Use when preparing a patch, beta, rc, or minor release manifest.
Command Cursor
Resume work on the current task — pick up at the right phase/step in .trellis/workflow.md.
Command Cursor
Create a migration manifest for a new patch/minor release based on commits since the last release.
Command Cursor
Wrap up the current session: archive the active task (and any other completed-but-unarchived tasks the user wants to clean up) and record the session journal. Code commits are NOT done here — those happen in workflow Phase 3.4 before you invoke this command.
Command Cursor
Sync a marketplace skill to the documentation site. Creates skill detail pages (EN/ZH), updates the marketplace index, and updates docs.json navigation.
Agent
Architecture sparring partner for Trellis. Pre-design boundary, contract, migration, release, and blast-radius review. Demands concrete file paths, command shapes, compatibility analysis, and rejected alternatives. NOT an implementer.
Agent
Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.
Agent
Code implementation expert for the Trellis channel runtime. Understands specs and task artifacts, then implements features. No git commit allowed.
Agent
Product / engineering planner — turns ambiguous asks into shippable plans.
Agent
Code and tech search expert. Finds patterns, specs, and tech solutions. Populates task JSONL context files.
Skill Claude CodeCodex
Initialize Trellis AI workflow system in a project. Use when user mentions "Trellis", "初始化 Trellis", "setup Trellis", "install Trellis", or wants to add AI-assisted development workflow to their project. This is a one-time setup skill.
Skill Claude CodeCodex
Use Trellis channel for live multi-agent collaboration, spawned workers, cross-agent review, progress inspection, forum channels, and channel log debugging.
Skill Claude CodeCodex
Understand and customize the local Trellis architecture inside a user project. Use when modifying .trellis plus platform hooks, settings, agents, skills, commands, prompts, workflows, the channel runtime (trellis channel), bundled runtime agents under .trellis/agents/, selectable workflow templates, registry-backed…
Instructions file CodexOpenCode
AGENTS.md instructions for mindfold-ai/Trellis, covering trellis instructions, gitnexus — code intelligence, always do, never do and resources.