cocosearch-onboarding

cocosearch-onboarding is a skill for Claude Code, Codex from VioletCranberry/coco-search. It costs 37 tokens per session (1,563 once invoked), scanned A, original, MIT.

A guided workflow for learning an unfamiliar codebase, meaning a software project’s files, structure, and coding patterns. It uses CocoSearch, a semantic search tool that finds related code by meaning, to explore the project step by step.

In plain words
What is it for?
It helps map a project’s architecture, find key modules, and understand recurring code patterns when joining a new codebase.
Why use it?
It reduces the time spent guessing where important code lives and how the project fits together. It also checks whether the project has a usable search index before exploring it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the cocosearch plugin — 12 skills shipped together

Good fit It helps map a project’s architecture, find key modules, and understand recurring code patterns when joining a new codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/violetcranberry/coco-search/cocosearch-onboarding
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add VioletCranberry/coco-search --skill cocosearch-onboarding
Clone the repo
git clone --depth 1 https://github.com/VioletCranberry/coco-search

Made for: Claude Code, Codex.

Or install cocosearch, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cocosearch-onboarding

README.md
[![agentmods](https://agentmods.dev/badge/skills/violetcranberry/coco-search/cocosearch-onboarding/github.svg)](https://agentmods.dev/skills/violetcranberry/coco-search/cocosearch-onboarding)
Your own site
<a href="https://agentmods.dev/skills/violetcranberry/coco-search/cocosearch-onboarding"><img src="https://agentmods.dev/badge/skills/violetcranberry/coco-search/cocosearch-onboarding/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cocosearch-onboarding

Your own site · 80×15
<a href="https://agentmods.dev/skills/violetcranberry/coco-search/cocosearch-onboarding"><img src="https://agentmods.dev/badge/skills/violetcranberry/coco-search/cocosearch-onboarding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,563 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01563
Opus 5 $0.00018 $0.00781
Sonnet 5 $0.00007 $0.00313
Haiku 4.5 $0.00004 $0.00156

Measured 10d ago against content hash 5b5e2bb9ed50, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cocosearch-onboarding scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cocosearch-onboarding/SKILL.md · 160 lines

How it starts

The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codebase Onboarding Workflow

Welcome to a new codebase. I'll guide you through understanding it step-by-step, like a senior developer giving you the tour. We'll use CocoSearch's semantic search to explore the architecture, key modules, and patterns without getting lost in the details.

Pre-flight Check

Before we start exploring, let me check if we have a CocoSearch index for this codebase.

I'll run:

  1. Resolve index name (use the resolved name for all operations):
    • Try cocosearch.yaml for indexName field -- if found, use it
    • If no config file, call list_indexes() and match the current project's directory name against available indexes. The MCP tools auto-derive index names from directory paths (e.g., my-project/ -> my_project), so a match is likely if the repo was indexed without a config file.
    • If no match found, the project is genuinely not indexed -- offer to index it. Do NOT abandon CocoSearch tools just because cocosearch.yaml is missing.
  2. list_indexes() - Check what indexes exist
  3. index_stats(index_name="<resolved-name>") - Check index health and freshness

What to look for:

  • No index found: Offer to run index_codebase(path, index_name="<resolved-name>") to create one before we start.
  • Index exists but stale (>7 days): Mention the index might be outdated and ask if you want to reindex for the freshest results
  • Index fresh: Great! We can start exploring immediately

Why this matters: Stale indexes might miss recent refactorings or new modules. A fresh index gives you the most accurate picture of the codebase.

Step 1: Architecture Overview (10,000ft View)

Let me get the big picture first. I'll search for entry points and project organization to understand what this codebase does and how it's structured.

I'll search for:

  • Entry points: search_code("main entry point application startup", symbol_type="function")
  • Project structure: search_code("module initialization configuration setup")
  • Core configuration: search_code("config settings environment variables")

Read the full file on GitHub · 160 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 160 lines · 37 tokens per session scan A 5b5e2bb9ed50

Subscribe to this mod's changes

cocosearch-onboarding is a skill published in the GitHub repository VioletCranberry/coco-search (37 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,563 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.