stage-1-discovery

stage-1-discovery is a skill for Claude Code from cdeust/ai-architect-mcp. It costs 5 tokens per session (2,319 once invoked), scanned A, original, MIT.

A research workflow stage that scans source material for useful problems or signals and scores each finding for relevance and uniqueness.

In plain words
What is it for?
Use it during discovery research to scan sources, identify findings, and pass forward only sufficiently relevant ones.
Why use it?
It keeps early research focused on evidence of worthwhile problems before anyone designs or builds a solution.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-architect plugin — 13 skills, 4 commands, 2 MCP servers, 1 plugin shipped together

Good fit Use it during discovery research to scan sources, identify findings, and pass forward only sufficiently relevant ones.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdeust/ai-architect-mcp/stage-1-discovery
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 cdeust/ai-architect-mcp --skill stage-1-discovery
Clone the repo
git clone --depth 1 https://github.com/cdeust/ai-architect-mcp

Made for: Claude Code.

Or install ai-architect, the plugin that ships this one along with the rest of its 13 skills, 4 commands, 2 MCP servers, 1 plugin.

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 stage-1-discovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp/stage-1-discovery/github.svg)](https://agentmods.dev/skills/cdeust/ai-architect-mcp/stage-1-discovery)
Your own site
<a href="https://agentmods.dev/skills/cdeust/ai-architect-mcp/stage-1-discovery"><img src="https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp/stage-1-discovery/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 stage-1-discovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/cdeust/ai-architect-mcp/stage-1-discovery"><img src="https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp/stage-1-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,319 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.
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.00005 $0.02319
Opus 5 $0.00003 $0.01159
Sonnet 5 $0.00001 $0.00464
Haiku 4.5 $0.00001 $0.00232

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

Security

Grade A, and why

stage-1-discovery 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/stage-1-discovery/SKILL.md · 233 lines

How it starts

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

Allostatic Priming

You are a research analyst scanning source categories for signals worth building against. You score for relevance and uniqueness. You do not generate solutions — you surface problems worth solving. Source material may be in any format. Every finding must earn a relevance score ≥ 0.6 to proceed.

Trigger

USE WHEN: discovery, scan sources, find findings, research, what should we build, source scan, relevance scoring, new findings, signal detection NOT FOR: impact analysis, integration design, PRD generation, implementation, verification — those are other stages

Survival Question

"Have I found at least one finding with a relevance score ≥ 0.6 that is not already in the active findings queue?"

Before you start

  1. ai_architect_load_context(stage_id=0, finding_id="{findingID}") — verify Stage 0 health report exists and all checks passed
  2. ai_architect_load_session_state(session_id="{sessionID}") — confirm currentStage = 1
  3. ai_architect_list_experience_patterns(stage_id=1, min_relevance=0.1) — load non-decayed patterns for relevance enrichment
  4. ai_architect_query_context(finding_id="{findingID}", query="active findings queue") — load existing findings to prevent duplicates

Missing Stage 0 health report = BLOCK. Do not discover without a green health check.

Input contract

Field Type Source Required
stage-0-health-report.json JSON StageContext[stage-0] YES — BLOCK if missing
Source material YAML/MD/URL/PDF User-provided or scheduled YES — at least one source
Active findings queue list StageContext NO — empty on first run
ExperiencePatterns list ai_architect_list_experience_patterns NO — enrichment only

Cortex memory integration

Before generating findings — recall past discoveries

WHEN: After loading prerequisites (step 4 of "Before you start") and before source ingestion. WHY: Previous pipeline runs may have already discovered findings for this repo. Some may have been resolved (shipped via PR), some may still be open, and some may have been rejected as irrelevant. Rediscovering resolved findings wastes pipeline capacity. Rediscovering rejected findings repeats a known dead end. HOW:

Read the full file on GitHub · 233 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 · 233 lines · 5 tokens per session scan A 724bde8c0899

Subscribe to this mod's changes

stage-1-discovery is a skill published in the GitHub repository cdeust/ai-architect-mcp (1 stars, last pushed 4mo ago), licensed MIT. It adds 5 tokens to every session and 2,319 once invoked, about $0.0000 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-31.

Related

Other skills, from other repositories

hive.slack-notifications-setup

Set up a Slack notification channel (Sentinel) for a colony by driving the browser — reuse or create the "Hive Sentinel" Slack app from a JSON manifest, install it, capture the bot + app tokens, create/select the channel via the Slack API, and turn Sentinel on so the colony can ping the user on Slack and accept…

aden-hive/hive · 136 tokens

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens

hive.chart-creation-foundations

Required reading whenever any chart tool is available. Teaches the one-tool embedding contract (call chartrender → live chart appears in chat AND a downloadable PNG lands in the queen session dir), the ECharts (data viz) vs Mermaid (structural diagrams) decision, the BI/financial-grade aesthetic baseline (no…

aden-hive/hive · 133 tokens

browser-edge-cases

SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.

aden-hive/hive · 40 tokens

hive.note-taking

Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.

aden-hive/hive · 30 tokens

sdlc-accelerate

End-to-end SDLC ramp-up from idea to construction-ready with automated phase transitions.

jmagly/aiwg · 23 tokens