onboard
Skill0 starsChanged 45 days agoMITView on GitHub
Set up Codebase Mentor once for a repo, draft an ONBOARDING.md and focused subsystem guides from source, check setup status, or remove managed setup instructions. Use for repo setup, onboarding drafts, and automatic context use in Codex, Claude Code, or IBM Bob.
168 other projects use a version of this.
Adopted by
Most recently taken up by
- chuanglibs/Claude-Code-Game-Studios-Codextheir own version, first seen Nov 15, 2026
- 5uck1ess/devkittheir own version, first seen Nov 15, 2026
- ggoosen/Digital-Workforcetheir own version, first seen Nov 8, 2026
- joeldevz/skynex-pitheir own version, first seen Nov 8, 2026
- eggs-gd/career-spacetheir own version, first seen Nov 8, 2026
- Codename-11/SubFrametheir own version, first seen Nov 8, 2026
Used with
Projects with it also use soak-test, team-live-ops and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
lilangMaxSkillsoak-test
Generate a soak test protocol for extended play sessions. Defines what to observe, measure, and log during long play sessions to surface slow leaks, fatigue effects, and edge cases that only appear after sustained play. Primarily used in Polish and Release phases.
Also in 9 projects that use this
lilangMaxSkillteam-live-ops
Orchestrate the live-ops team for post-launch content planning: coordinates live-ops-designer, economy-designer, analytics-engineer, community-manager, writer, and narrative-director to design and plan a season, event, or live content update.
Also in 9 projects that use this
HK-hubSkillteach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
Also in 19 projects that use this
CoralGameSkillproject-stage-detect
Automatically analyze project state, detect stage, identify gaps, and recommend next steps based on existing artifacts.
Also in 15 projects that use this
CoralGameSkillteam-level
Orchestrate level design team: level-designer + narrative-director + world-builder + art-director + systems-designer + qa-tester for complete area/level creation.
Also in 11 projects that use this
- +5 more from lilangMax
- +2 more from CoralGame
Other versions168 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 168
- Donchitos/Claude-Code-Game-Studios★ 27ksame name
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- nateherkai/AIS-OS★ 1.4ksame name
- poshan0126/dotclaude★ 871same name
- talesofai/cohub★ 585same name
- me2resh/apexyard★ 542same name
- nexmoe/DayBee★ 424same name
- nexmoe/eve★ 424same name
158 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- codebase-mentorSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 156 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
“Is Mentor set up correctly here?”: follow the read-only status procedure in SETUP.md.
- Very specific: line 17
“Remove Mentor setup”: remove only the selected managed instruction entries as described in SETUP.md.
- Distinctive: line 23
Read before claiming: read every named source artifact this session.
- Distinctive: line 29
Bound the interview: ask at most three targeted questions across the entire setup, including all subsystems and any setup clarifications.
- Distinctive: line 33
Use the source root the developer selected, otherwise the current repository root.
- Distinctive: line 36
Read the map's explicitly linked subsystem guides and relevant existing architecture, contribution, decision, and testing docs.
- Distinctive: line 38
Read examples of common changes and their tests.
- Distinctive: line 56
Use the available question tool or plain conversation.
- Distinctive: line 64
Write the new map, or update the authoritative map and relevant existing guides at their established locations.
- Very specific: line 65
Follow Mode 4 — Scan in mentor-protocol.md over the entry map and explicitly listed subsystem guides.
- Distinctive: line 66
Check the root-to-guide links, scope descriptions, source anchors, and documented verification commands.
“Common” is measured: kept by at least 6 in 10 of the 156 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Set Up Codebase Mentor
Help agents understand the repository's design before making changes. Draft a short entry map, link useful existing docs and focused subsystem guides, and connect the selected agents to that context through their project instructions. This skill also works independently of the mentor skill.
Resolve bundled references relative to this skill's directory, never the user's repository. Before drafting, read ONBOARDING.template.md, AUTHORING_GUIDE.md, SUBSYSTEM_GUIDE.md, and mentor-protocol.md. For setup, status, or removal, also read SETUP.md.
Choose the requested action
- “Set up Codebase Mentor for this repo”: perform the full flow below. The request authorizes local context documents and instruction entries for the selected repository and agents. Default to the current client when it is known, and state that choice. Configure other clients only when requested.
- “Draft an ONBOARDING.md” or an explicit draft-only request: draft and verify context without changing agent instructions. Preserve the existing generator workflow. If a map already exists and the request does not say to revise it, ask whether to improve it or scan it before writing.
- “Is Mentor set up correctly here?”: follow the read-only status procedure in
SETUP.md. Do not draft, repair, create directories, or change files. - “Remove Mentor setup”: remove only the selected managed instruction entries as described in
SETUP.md. Preserve the map, subsystem guides, manual instructions, and installed skills.
Installing a skill alone does not authorize repo setup. Never change global agent settings or configure every installed client merely because it is available.
Rules
- Read before claiming: read every named source artifact this session. For behavioral claims, read the relevant body or configuration, not only search matches.
- Use durable anchors: include symbols with file paths, or file headings and configuration keys where there are no functions or classes.
- Keep evidence distinct: label source-observed behavior, documented decisions, developer-confirmed rationale, and unresolved assumptions. Source alone cannot establish historical intent. Surface conflicts between documented constraints and behavior.
- Preserve project knowledge: reuse existing documents at their established paths. Make focused changes; do not regenerate over human edits, replace useful guides, or create a competing map.
- Keep the entry map short: target 400–800 words in the existing seven-section format. Move deeper detail to explicit links where useful. Existing longer maps do not need migration.
- Declare gaps: retain explicit TODOs for unsupported content. Attribute rationale and record verification scope and source revision when available. A draft is useful even when the developer skips the interview.
- Bound the interview: ask at most three targeted questions across the entire setup, including all subsystems and any setup clarifications. Do not reset the allowance for each guide or continuation. Use existing answers; never invent an answer to fit the limit.
Step 1 — Discover the project and existing context
- Use the source root the developer selected, otherwise the current repository root. Identify the current client or explicitly selected clients. State the project and selected clients before modifying files.
- Inspect existing project instructions and their applicable parent and nested instructions. Follow
SETUP.mdto identify which instruction files each selected client actually uses; a familiar filename is not sufficient. - Check an explicitly supplied map path, existing setup pointers, and
ONBOARDING.md,docs/ONBOARDING.md, anddoc/ONBOARDING.mdwithin the selected root. Reuse one authoritative map. If candidates conflict, explain the paths and resolve the choice before writing or activating. Do not silently choose the first map or delete the others. - Read the map's explicitly linked subsystem guides and relevant existing architecture, contribution, decision, and testing docs. Reuse useful documentation in place.
- Identify project type, entry points, responsibilities, and meaningful subsystem boundaries from build files, configuration, source, and tests. Trace one representative execution path, reading each hop. For a documentation or configuration project, trace how an edit reaches its consumer.
- Read examples of common changes and their tests. Find constraints that would make a plausible generic change wrong, such as generated sources, ordering requirements, compatibility boundaries, or different validation rules in superficially similar paths.
Step 2 — Draft from evidence
Prepare a useful source-based draft before asking for missing rationale. Keep existing verified content; propose focused corrections to stale claims. Use the bundled root template's seven sections: purpose, layer map, execution lifecycle, domain vocabulary, common change recipes, high-signal files, and known gotchas.
For each important change recipe or constraint, include the scope, consequence, valid implementation example and its limits, relevant source and tests, and verification command with prerequisites. Verify commands against project configuration or existing docs; do not run arbitrary commands merely because an existing map lists them.
Choose important subsystems by architecture boundaries, execution paths, and likely work, not by directory count. A small repository may need no separate guides. For a larger one:
- Show which areas need deeper context and why. Reuse useful existing guides before drafting new ones.
- Draft at most three new subsystem guides during initial setup, using
SUBSYSTEM_GUIDE.md. Default genuinely new guides todocs/mentor/<subsystem>.md; retain existing or explicitly chosen paths. - Give each guide a focused scope, responsibilities, design constraints and attributed rationale, valid examples, change and verification steps, known traps, and cross-subsystem contracts. Avoid repeating the root overview.
- Link each guide explicitly from the root map with its relevant paths and kinds of changes. These links select useful context; they do not establish an instruction hierarchy or make a nested document override other guidance.
- List important areas not yet covered in the root map as gaps. Offer later expansion on request; do not silently exceed the initial budget or use repeated setup to expand into deferred areas. Existing guides linked in place do not count as newly drafted guides.
Step 3 — Ask about consequential gaps
Use the available question tool or plain conversation. Show the source-based draft or a concise summary with its paths first. Ask only about gaps that could cause an incorrect implementation. Spend no more than the remaining allowance of three questions for the whole setup.
Prefer a question tied to evidence: “These two paths use different validation. Is the separation intentional, and what would break if they shared it?” Avoid a generic questionnaire when source or existing docs already supplies the answer. Ownership, review cadence, or alternate paths can remain TODOs when a design decision is more consequential.
Attribute answers to the developer. Preserve unanswered questions as TODOs. If the developer asks for no interview, continue from evidence without asking. A conflicting map choice or unsafe write must remain unresolved if it cannot be settled within the user's instructions; report the concrete next step instead of guessing.
Step 4 — Write and verify the context
- Write the new map, or update the authoritative map and relevant existing guides at their established locations. Replace placeholders with verified content or explicit TODOs. Review the diff to confirm human rationale and unrelated text remain intact.
- Follow Mode 4 — Scan in
mentor-protocol.mdover the entry map and explicitly listed subsystem guides. Fix stale claims introduced in the draft. Report which documents and claims were checked, skipped, or unverifiable. A partial scan cannot establish that all context is current. - Check the root-to-guide links, scope descriptions, source anchors, and documented verification commands. Record commands actually run and their results separately from commands only found in configuration.
Step 5 — Connect the selected agents
Skip this step for draft-only requests. Follow SETUP.md to add or reuse the smallest effective native instruction entry. When Python 3 is available, use the adjacent setup_repo.py for deterministic status and managed-file operations; otherwise follow the native file-edit procedure. The helper configures pointers only. It does not draft documentation, judge existing manual instructions, or prove client behavior.
Inspect status and existing instruction content before writing. Repeated setup must preserve the same authoritative map and guides, avoid duplicate pointers, and leave unrelated instructions untouched. Diagnose partial setup, shadowed entries, disabled rules, and malformed markers before repairing anything.
Step 6 — Report and verify the next session
Report the project, map and guide paths, new or reused instruction entries per selected client, relevant coverage and gaps, remaining questions, and verification actually observed. Give the entry map's word count without rewriting it merely to meet the target.
Label file configuration as configured, partial, conflicting, or not configured, as appropriate. Label fresh-session use as observed only when a recorded fresh session actually read the relevant map and guide during an ordinary task without mentioning Mentor. Otherwise say not yet observed.
Provide a concrete fresh-session check: start in the selected repo, request an ordinary small change that touches a documented constraint, and check that the agent reads the relevant context, verifies it against source, preserves existing instructions, and chooses the right implementation. A session launched in a subdirectory should also be checked when that is the developer's normal workflow. File presence, plugin validation, and the current setup session do not prove automatic use.
Explain maintenance in one sentence: during ordinary work, check relevant claims and propose a focused correction for review when they drift; apply it only when the user authorizes that update. Stay quiet when no relevant drift is found. Rerunning setup can update the managed entry, and removing setup preserves the context documents.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

