cocoscout

cocoscout is a skill for Claude Code from Snowflake-Labs/cocoplus. It costs 59 tokens per session (1,773 once invoked), scanned A, original, MIT.

A background context finder that selects the most relevant project notes and reference material for a coding task. It runs after quick checks and before the main build work.

In plain words
What is it for?
It is for ranking project context, identifying the active persona and named Snowflake items, and supplying a short context briefing before build or persona work.
Why use it?
It reduces the need to load an entire context library and helps the agent start with information related to the current task. It can skip slow or unavailable sources and let work continue.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

Good fit It is for ranking project context, identifying the active persona and named Snowflake items, and supplying a short context briefing before build or persona work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/snowflake-labs/cocoplus/cocoscout
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 Snowflake-Labs/cocoplus --skill cocoscout
Clone the repo
git clone --depth 1 https://github.com/Snowflake-Labs/cocoplus

Made for: Claude Code.

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 cocoscout

README.md
[![agentmods](https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/cocoscout/github.svg)](https://agentmods.dev/skills/snowflake-labs/cocoplus/cocoscout)
Your own site
<a href="https://agentmods.dev/skills/snowflake-labs/cocoplus/cocoscout"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/cocoscout/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 cocoscout

Your own site · 80×15
<a href="https://agentmods.dev/skills/snowflake-labs/cocoplus/cocoscout"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/cocoscout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,773 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.00059 $0.01773
Opus 5 $0.00030 $0.00886
Sonnet 5 $0.00012 $0.00355
Haiku 4.5 $0.00006 $0.00177

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

Security

Grade A, and why

cocoscout 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 9d 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.

.cortex/skills/cocoscout/SKILL.md · 143 lines

How it starts

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

You are CocoScout. You are a background subagent that fires automatically before Build stage execution and before direct persona invocations. Your job is to rank all available context sources by relevance to the current task and inject the top-k most relevant into the agent's session. You never interact with the developer directly.

Model: Haiku (scout work is classification and retrieval, not reasoning) Time budget: Complete in under 5 seconds. On timeout, skip slow sources and proceed with what you have. Write timeout warnings to .cocoplus/hook-errors.log.

Three-Tier Latency Contract

CocoScout is a Tier 2 operation in the UserPromptSubmit hook pipeline:

Tier Who Budget Runs In
Tier 1 Hook inline <50ms the UserPromptSubmit hook — command passthrough, persona routing, context-mode flag
Tier 2 CocoScout (this skill) <5s async Fire-and-forget subagent — context scoring, injection, audit record
Tier 3 Batch/off-cycle No deadline the SessionEnd hook — audit flush, dream promotion, grove reindex

Invariant: CocoScout MUST NOT block the UserPromptSubmit hook return. It is spawned after Tier 1 completes via fire-and-forget execFile. The hook returns immediately; CocoScout completes within its 5s budget independently.

Step 1 — Identify Task Context

Read the current task description from the invocation context (stage description from flow.json or the direct persona prompt).

Identify:

  • The persona type (data-engineer, data-scientist, analytics-engineer, data-analyst, bi-analyst, data-product-manager, data-steward, chief-data-officer)
  • Any named Snowflake objects (tables, views, functions, schemas)
  • Any named Cortex AI functions (AI_COMPLETE, AI_CLASSIFY, AI_EXTRACT, AI_FILTER, AI_SENTIMENT, AI_TRANSLATE, AI_EMBED, AI_SIMILARITY, AI_REDACT, AI_PARSE_DOCUMENT, AI_TRANSCRIBE, AI_AGG, AI_COUNT_TOKENS)

Step 2 — Score Context Sources (Two-Lens Relevance)

Read the full file on GitHub · 143 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. 9d ago First seen · 143 lines · 59 tokens per session scan A 5a9b7f582cfe

Subscribe to this mod's changes

cocoscout is a skill published in the GitHub repository Snowflake-Labs/cocoplus (720 stars, last pushed 6d ago), licensed MIT. It adds 59 tokens to every session and 1,773 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

knowledge_store_skill

Skill for working with local .knowledge.yaml files via KnowledgeStore. Use this when you need to recall, search, or manage directory-local memories and knowledge links stored in plain YAML alongside the user's project files. KnowledgeStore is directory-scoped. Each directory that contains a .knowledge.yaml file…

NPC-Worldwide/npcpy · 346 tokens

remember

Stores decisions, patterns, and outcomes in the MCP memory knowledge graph as entities with typed observations and relations. Supports recording architectural decisions, anti-patterns, tool preferences, workflow outcomes, and project conventions that persist across sessions. Use when saving patterns, remembering…

yonatangross/orchestkit · 62 tokens

llm-wiki

Use when building or maintaining a self-contained personal knowledge base (an LLM wiki) in plain markdown. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki health, auditing article claims against their sources, critiquing a wiki source's reasoning, superseding stale knowledge, 'add to…

sammcj/agentic-coding · 82 tokens

authoring-claude-md

Creating and maintaining CLAUDE.md project memory files and .claude/rules/ rule files that provide non-obvious codebase context. Use when (1) creating a new CLAUDE.md for a project, (2) adding architectural patterns or design decisions to existing CLAUDE.md, (3) capturing project-specific conventions that aren't…

sammcj/agentic-coding · 93 tokens

screenpipe-chats

Search what was said in existing screenpipe, Codex, Claude, Cursor, and Gemini CLI chats, then continue or steer one exact chat when the user explicitly asks. Use for requests about finding another agent conversation, recalling what an agent said, or sending work to one.

screenpipe/screenpipe · 60 tokens

bootstrap-agent-identity

Consistent agent behavior after restart — progressive identity loading, working context reconstruction from persistent artifacts, fresh-vs-continuation detection, calibration through centering and attunement, and identity verification for coherence. Addresses the cold-start problem where an agent must reconstruct who…

pjt222/agent-almanac · 105 tokens