Skip to main content
OrchestKit v7.43.0 — 104 skills, 36 agents, 173 hooks · Claude Code 2.1.105+
OrchestKit

The 3 Building Blocks

Skills are knowledge, agents are specialists, hooks are automation. Here's how they work together.

OrchestKit has three types of components. Understanding how they connect is the key to using the toolkit effectively.

Skills — Reusable Knowledge

A skill is a markdown file containing expert knowledge about a specific topic. Think of skills as reference cards that Claude reads when it needs domain expertise.

src/skills/python-backend/SKILL.md

103 skills covering: FastAPI, React, SQLAlchemy, RAG, LangGraph, OWASP, Terraform, and more.

Two Types

TypeCountHow It WorksExample
Command19You invoke directly: /ork:commit/ork:verify, /ork:implement
Reference73Auto-injected into agentspython-backend, security-patterns

Command skills are what you type. Reference skills are what agents read. You never need to invoke a reference skill — the right agent loads the right skills automatically.

Skill Anatomy

Every skill has YAML frontmatter that controls how it's discovered and used:

---
name: python-backend
description: Python backend patterns including FastAPI, async, middleware
tags: [python, fastapi, backend]
user-invocable: false     # Reference skill (not a command)
complexity: medium         # Helps Claude calibrate effort
agent: backend-system-architect  # Which agent uses this
---

Agents — Specialized AI Personas

An agent is a specialized Claude instance with a specific role, tools, and injected skills. When you say "design a database schema", OrchestKit spawns the database-engineer agent — pre-loaded with schema design skills, migration patterns, and normalization knowledge.

36 agents covering: backend architecture, frontend UI, security auditing, test generation, debugging, deployment, and more.

How Agents Activate

Agents activate from keywords in your prompt. You don't need to name them:

You SayAgent SpawnedSkills Loaded
"review this PR"code-quality-reviewercode-review-playbook, testing-unit, testing-e2e
"design the API"backend-system-architectapi-design, architecture-patterns
"find the bug"debug-investigatorerrors, monitoring-observability
"optimize performance"frontend-performance-engineerperformance, vite-advanced
"scan for vulnerabilities"security-auditorsecurity-patterns, mcp-patterns

Agent Anatomy

---
name: backend-system-architect
model: opus                    # Uses the most capable model
tools: [Read, Write, Bash, Grep, Glob]
skills:                        # 31 skills auto-injected
  - api-design
  - database-patterns
  - architecture-patterns
  # ...
---

Parallel Agents

Some commands spawn multiple agents in parallel. When you run /ork:review-pr, three agents work simultaneously:

AgentRole
security-auditorOWASP scan
code-quality-reviewerStyle and patterns
test-generatorCoverage gaps

All three run in parallel, then results are synthesized into a single PR review.

Hooks — Invisible Automation

Hooks are TypeScript functions that fire automatically on lifecycle events. You never invoke them — they run in the background on every prompt, tool call, and session transition.

146 hooks across 11 categories:

CategoryCountWhat It Does
pretool24Runs before a tool executes (security gates, validation)
posttool19Runs after a tool executes (audit logging, metrics)
prompt14Runs when you submit a prompt (context injection, memory)
lifecycle16Session start/stop events (env setup, cleanup)
skill22Runs during skill execution (quality gates, patterns)
agent5Runs during agent operations (safety checks)
permission3Auto-approves safe operations
stop14Session end (save context, sync memory)
subagent11Manages sub-agent lifecycle
setup8First-run initialization
notification3Desktop/sound alerts

Example: What Happens on a Git Push

When Claude runs git push, hooks fire in sequence:

Before execution (pretool):

HookAction
dangerous-command-blockerChecks for force-push
git-validatorValidates branch rules
compound-command-validatorChecks piped commands

After execution (posttool):

HookAction
audit-loggerRecords the action
session-metricsUpdates session stats
workflow-analyticsUpdates workflow analytics

How They Connect

Here's what happens when you say "Add user auth to the API":

Prompt hooks fire

context-injector, memory-context-loader, and skill-auto-suggest enrich your prompt with project context.

Agent spawns

backend-system-architect activates (model: opus) based on keyword matching.

Skills injected

The agent auto-loads security-patterns, api-design, python-backend, and architecture-patterns.

Agent writes code

Pretool hooks validate each tool call. Posttool hooks audit and log every action.

Stop hooks

auto-remember-continuity and session-profile-agg save context for the next session.

Next Steps

Edit on GitHub

Last updated on