cocosearch-quickstart

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

A setup workflow for indexing a project with CocoSearch, a tool for searching a codebase by meaning and code relationships. It checks required services such as PostgreSQL and the configured embedding provider before verifying the index.

In plain words
What is it for?
Use it when installing CocoSearch for the first time or indexing a new project, including checking PostgreSQL, Ollama or a remote provider, models, and configured URLs.
Why use it?
It catches missing infrastructure or configuration before indexing fails. It guides the initial setup and confirms that the project can be searched afterward.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions OpenCode.

Part of the cocosearch plugin — 12 skills shipped together

Good fit Use it when installing CocoSearch for the first time or indexing a new project, including checking PostgreSQL, Ollama or a remote provider, models, and configured URLs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/violetcranberry/coco-search/cocosearch-quickstart
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-quickstart
Clone the repo
git clone --depth 1 https://github.com/VioletCranberry/coco-search

Made for: Claude Code.

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-quickstart

README.md
[![agentmods](https://agentmods.dev/badge/skills/violetcranberry/coco-search/cocosearch-quickstart.svg)](https://agentmods.dev/skills/violetcranberry/coco-search/cocosearch-quickstart)
Your own site
<a href="https://agentmods.dev/skills/violetcranberry/coco-search/cocosearch-quickstart"><img src="https://agentmods.dev/badge/skills/violetcranberry/coco-search/cocosearch-quickstart.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00039 $0.01560
Opus 5 $0.00019 $0.00780
Sonnet 5 $0.00008 $0.00312
Haiku 4.5 $0.00004 $0.00156

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

Security

Grade A, and why

cocosearch-quickstart scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:11434/api/tags | head -c 200
skills/cocosearch-quickstart/SKILL.md · 154 lines

How it starts

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

CocoSearch Quick Start

Get a project indexed and searchable in under 2 minutes. This skill checks prerequisites, indexes the codebase, and verifies everything works.

Step 1: Check Infrastructure

Before indexing, verify the required services are running. The checks depend on which embedding provider is configured.

First, determine the provider: Check cocosearch.yaml for embedding.provider (or the COCOSEARCH_EMBEDDING_PROVIDER env var). If neither is set, the default is ollama. Also check for embedding.baseUrl (or COCOSEARCH_EMBEDDING_BASE_URL).

All providers need PostgreSQL:

  1. PostgreSQL (pgvector):
    docker ps --filter "name=postgres" --format "{{.Names}} {{.Status}}"
    
    • If not running: docker compose up -d (from the CocoSearch project root)

Then check the embedding provider:

2a. If provider is ollama (default):

curl -s http://localhost:11434/api/tags | head -c 200
  • If not running: docker compose --profile ollama up -d or ollama serve
  • If running but no model: ollama pull nomic-embed-text
  • If baseUrl is set, check that URL instead of localhost:11434

2b. If provider is openai or openrouter:

  • Without baseUrl: Verify COCOSEARCH_EMBEDDING_API_KEY is set:
    echo ${COCOSEARCH_EMBEDDING_API_KEY:+"API key is set"}
    
    If not set: export COCOSEARCH_EMBEDDING_API_KEY=sk-... No Ollama needed.
  • With baseUrl: Verify the custom endpoint is reachable:
    curl -s <baseUrl>/v1/models | head -c 200
    
    API key is not required (local OpenAI-compatible servers typically don't need one).

If PostgreSQL + provider checks pass: Proceed to Step 2.

If nothing is running and user has CocoSearch cloned (Ollama provider):

cd /path/to/cocosearch && docker compose --profile ollama up -d

This starts both PostgreSQL and Ollama in one command.

Step 2: Index the Project

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 -- proceed to create one below. Do NOT abandon CocoSearch tools just because cocosearch.yaml is missing.

Read the full file on GitHub · 154 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. 8d ago First seen · 154 lines · 39 tokens per session scan A ddbfb7ef8cec

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

gno

Search local documents, files, notes, and knowledge bases. Index directories, search with BM25/vector/hybrid, get AI answers with citations. Use when user wants to search files, find documents, query notes, look up information in local folders, index a directory, set up document search, build a knowledge base, needs…

gmickel/gno · 86 tokens

esm

Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (efficient protein embeddings and representations). Use this skill when working with protein sequences, structures, or function prediction; designing novel…

synthetic-sciences/openscience · 86 tokens

embeddings-search

Use when choosing an embedding model, chunk size, or query form, when semantic search returns irrelevant results, when adding hybrid BM25+vector or a reranker, or when a retrieval change needs a number (recall@k, nDCG, MRR). NOT operating the store — index tuning, quantization (that is vector-db) — nor the…

ericrisco/rsc-harness · 88 tokens

rag-expert

Design retrieval-augmented generation systems: chunking, embeddings, vector and hybrid search, reranking, grounding and evaluation. Use when the user mentions RAG, retrieval, semantic search, embeddings, vector databases, pgvector, Chroma, Qdrant, Pinecone, chunking or reranking, wants an assistant answering over…

personamanagmentlayer/pcl · 97 tokens

vera

Code search over the current repository. Before reading files to answer "where is X", "how does Y work", "find Z", or "what calls W", run vera search " " or vera references first. Use vera grep for exact strings and regex, vera structural for definitions, routes, and env reads. Do not read multiple files hoping to…

VeraTools/Vera · 96 tokens

memory-capture

Capture decisions, learnings, patterns, and context as persistent memories that survive across sessions.

zircote/subcog · 0 tokens