/tsubasa:captain-onboardfrom tsubasa
Auto-detects knowledge sources and scaffolds a tsubasa captain in the repo. Runs init, registers sources (git, docs, postmortems), and triggers first ingest. For new captains or upgrading after a CLI update.
Ships in tsubasa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Birth a captain in this repo or workspace. Everything through conversation — the user never touches the CLI.
If .tsubasa/captain.toml exists, this repo has a captain and init will
refuse. Run tsubasa upgrade instead: it is idempotent and brings a captain
built by an older tsubasa up to date (schema stamp, source graph, memory
tiers), reporting every change. Then stop, and report what changed. Only run
the steps below when there is no captain here.
which tsubasa — if missing:
uv tool install tsubasa (fallback: uv tool install git+https://github.com/ramarahmanda/tsubasa).
If uv is missing too, ask before installing it..git here or in first-level subdirectories (workspace mode)docs/adr, docs/decisions, */docs/*.md
(design docs are usually the highest-value source — do not skip them)tsubasa init <name> --role "<role>" --domains <d1,d2>, then
register every confirmed source with
tsubasa source add <adapter> <path> [--glob "<glob>"].
NEVER hand-edit captain.toml — the command validates and keeps it parseable..tsubasa/persona.md and includes it from
CLAUDE.md alongside the hot-memory include: response rules (straight
answers, cite or "I don't know", never an id you did not read, the recorded
value first, push back on ADR conflicts), the enforced ADR format, and
communication rules per Strunk & White's The Elements of Style ("omit
needless words"). Read it, verify both include lines are present, do NOT
duplicate the rules anywhere, and tell the user in one line that persona.md
is generated (tsubasa rewrites it on upgrade) and their own additions go in
CLAUDE.md around the include. From this step on, ANSWER IN THAT STYLE — the
onboarding report itself is the first demonstration of the persona.tsubasa ingest (deterministic: docs, tags, ADR-marked
commits).tsubasa index: deterministic
code-only graphify indexes per workspace repo (local AST, no LLM, seconds per
repo; non-code files excluded by design). Then tsubasa link to seed
anchors between graph entities and code nodes. This is what lets queries
join the why (native graph) to the what-is (code graph).
Optional depth, on request only: /graphify ./<repo> --mode deep for
semantic code edges on a repo that warrants it — never a default; docs
enter the graph via tsubasa sources, not graphify.tsubasa study (headless, chunked — distills
EVERY commit into events; --max-chunks N bounds cost).
Then tsubasa resolve (merge duplicate entities) and tsubasa profile
(rich profiles for hub entities). This is the 25-year-veteran pass.tsubasa event add --type <decision|note|incident> --title "..." \ --summary "..." --impact <i> --domains <d> --ref <commit|doc>:<id> \ --entity <id>:<type>:<name>:<desc> --relation <src>:<pred>:<tgt>
Aim for quality over volume: 15-30 well-connected events beat 200 thin ones..tsubasa/ + CLAUDE.md are commit-ready
(do not commit unasked). In a multi-repo workspace root, note the knowledge
lives at the workspace level.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ramarahmanda/tsubasa --plugin tsubasa5 skills in this plugin
/captain-captureUse at DECISION MOMENTS — the user accepts a proposed design/approach after discussion, approves a plan, or concludes "let's do X". Persists the decision as an ADR + event in the tsubasa knowledge graph so it is never lost./captain-delegateUse when implementation work is approved and ready to be executed — the captain briefs subagents, supervises them, unblocks or escalates when they stall, and validates results against the knowledge graph before accepting. The captain never writes feature code itself./captain-injectUse when the user STATES A FACT about the system or tells the captain to remember/learn something — "update your knowledge", "remember this", "we dropped X for Y", "the outage was caused by Z", environment URLs, team contacts, deployment flows, tribal knowledge, corrections to what the Captain believes. Validates intent, connects to existing entities, persists to the tsubasa graph./captain-recallUse when the user asks WHY or WHAT-HAPPENED questions about this system — historical decisions, past incidents, why code/config is shaped a certain way, where something is deployed, who decided what, or the state of work in flight. Queries the tsubasa knowledge graph for cited answers.Other plugins' skills for the same job