discover

discover is a skill for Claude Code from RobinNorberg/oh-my-copilot. It costs 17 tokens per session (2,289 once invoked), scanned A, original, MIT.

A codebase scanner that uses several specialist agents to look for improvement opportunities. It combines their findings into a prioritised backlog of technical work.

In plain words
What is it for?
Use it for a broad quality check, release preparation, or creating a prioritised list of technical-debt fixes.
Why use it?
It helps reveal security gaps, missing tests, performance problems, documentation gaps, and design drift across an unfamiliar project.

Skill for Claude Code

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

Part of the oh-my-copilot plugin — 51 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it for a broad quality check, release preparation, or creating a prioritised list of technical-debt fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robinnorberg/oh-my-copilot/discover
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 RobinNorberg/oh-my-copilot --skill discover
Clone the repo
git clone --depth 1 https://github.com/RobinNorberg/oh-my-copilot

Made for: Claude Code.

Or install oh-my-copilot, the plugin that ships this one along with the rest of its 51 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server.

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 discover

README.md
[![agentmods](https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/discover/github.svg)](https://agentmods.dev/skills/robinnorberg/oh-my-copilot/discover)
Your own site
<a href="https://agentmods.dev/skills/robinnorberg/oh-my-copilot/discover"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/discover/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 discover

Your own site · 80×15
<a href="https://agentmods.dev/skills/robinnorberg/oh-my-copilot/discover"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/discover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,289 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.00017 $0.02289
Opus 5 $0.00009 $0.01144
Sonnet 5 $0.00003 $0.00458
Haiku 4.5 $0.00002 $0.00229

Measured 4d ago against content hash 5028b79cb2b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

discover 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 4d 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/discover/SKILL.md · 246 lines

How it starts

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

<Use_When>

  • User wants to identify improvement opportunities: /discover, "scan for improvements", "find issues"
  • Starting work on an unfamiliar codebase and wanting a quality baseline
  • Preparing for a release and wanting a comprehensive quality check
  • User wants a prioritized backlog of technical debt </Use_When>

<Do_Not_Use_When>

  • User wants to review a specific PR or changeset — use /deep-review instead
  • User wants to fix a specific bug — delegate to debugger agent
  • User wants to plan a feature — use /plan instead </Do_Not_Use_When>

<Why_This_Exists> Codebases accumulate technical debt across many dimensions — security gaps, missing tests, performance hotspots, documentation gaps, architectural drift. No single agent can efficiently cover all dimensions. Discover parallelizes specialist scans and produces a unified, deduplicated, severity-prioritized backlog that teams can act on. </Why_This_Exists>

<Execution_Policy>

  • All 6 scan agents MUST run in parallel (independent concerns)
  • Each agent focuses exclusively on its category — no overlap
  • Consolidation agent runs after all scans complete
  • Default scope: encourage explicit scoping to a subdirectory. Full-codebase scan only if user explicitly requests it
  • Output: .omg/discover/backlog.md </Execution_Policy>
  1. Launch 6 parallel scans: Fire all agents simultaneously

    Scan 1 — Security:

    Task(subagent_type="oh-my-copilot:security-reviewer", model="sonnet", name="discover-security", prompt="
    DISCOVERY SCAN: Security
    Scan the codebase at [SCOPE] for security vulnerabilities and risks.
    Focus on: OWASP Top 10, hardcoded secrets, injection risks, auth gaps, input validation.
    
    For each finding, output:
    FINDING:
    - category: security
    - severity: CRITICAL|HIGH|MEDIUM|LOW
    - title: [brief title]
    - file: [file:line]
    - description: [what's wrong and why it matters]
    - suggestedAction: [specific fix recommendation]
    END_FINDING
    ")
    

    Scan 2 — Quality:

    Task(subagent_type="oh-my-copilot:code-reviewer", model="sonnet", name="discover-quality", prompt="
    DISCOVERY SCAN: Code Quality
    Scan the codebase at [SCOPE] for anti-patterns, complexity hotspots, and SOLID violations.
    Focus on: God objects, high cyclomatic complexity (>10), deep nesting (>4 levels), code duplication, magic numbers.
    
    For each finding, output:
    FINDING:
    - category: quality
    - severity: CRITICAL|HIGH|MEDIUM|LOW
    - title: [brief title]
    - file: [file:line]
    - description: [what's wrong and why it matters]
    - suggestedAction: [specific fix recommendation]
    END_FINDING
    ")
    

    Scan 3 — Tests:

    Task(subagent_type="oh-my-copilot:test-engineer", model="sonnet", name="discover-tests", prompt="
    DISCOVERY SCAN: Test Coverage
    Scan the codebase at [SCOPE] for test coverage gaps and test quality issues.
    Focus on: untested public APIs, missing edge case tests, flaky test patterns, missing integration tests.
    
    For each finding, output:
    FINDING:
    - category: tests
    - severity: CRITICAL|HIGH|MEDIUM|LOW
    - title: [brief title]
    - file: [file:line]
    - description: [what's missing and why it matters]
    - suggestedAction: [specific test to add]
    END_FINDING
    ")
    

    Scan 4 — Performance:

    Task(subagent_type="oh-my-copilot:code-reviewer", model="sonnet", name="discover-perf", prompt="
    DISCOVERY SCAN: Performance
    Scan the codebase at [SCOPE] for performance issues and optimization opportunities.
    Focus on: N+1 queries, O(n²) algorithms, unnecessary re-renders, missing caching, synchronous I/O in hot paths, memory leaks.
    
    For each finding, output:
    FINDING:
    - category: performance
    - severity: CRITICAL|HIGH|MEDIUM|LOW
    - title: [brief title]
    - file: [file:line]
    - description: [what's slow and why it matters]
    - suggestedAction: [specific optimization]
    END_FINDING
    ")
    

Read the full file on GitHub · 246 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. 4d ago First seen · 246 lines · 17 tokens per session scan A 5028b79cb2b2

Subscribe to this mod's changes

discover is a skill published in the GitHub repository RobinNorberg/oh-my-copilot (5 stars, last pushed 2d ago), licensed MIT. It adds 17 tokens to every session and 2,289 once invoked, about $0.0001 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-09-04.

Related

Other skills, from other repositories

winui-session-report

Analyze the current or a recent agent session (GitHub Copilot CLI or Claude Code) and generate a diagnostic report. Use only when the user explicitly asks for session feedback, agent debugging, or a review of what happened during a build session. Do not inspect session data automatically.

microsoft/win-dev-skills · 61 tokens

harness-doctor

Check whether this project's Agentsmith harness is installed correctly and healthy — fires on "is my harness set up right?", "harness doctor", "check my harness". Part of the Agentsmith harness; checks each selected agent's managed rules, settings, skills, hooks, verification, and leanness with a one-line fix for each…

PromptPartner/agentsmith · 74 tokens

verify-pr-logs

Checks GitHub Actions CI logs on a pull request, diagnoses failures, and guides the agent to implement fixes. Use when user mentions CI failing, check PR logs, fix pipeline, GitHub Actions errors, workflow failures, build broken, tests failing on PR, or debug CI. Focuses on PR-scoped CI analysis only.

rlespinasse/agent-skills · 71 tokens

gdb-cli

GDB debugging assistant for AI agents - analyze core dumps, debug live processes, investigate crashes and deadlocks with source code correlation.

aboalrejal-ai/skills · 29 tokens

kubestellar-console

Multi-cluster Kubernetes dashboard with AI-powered operations via MCP server and 10+ built-in agent skills.

aboalrejal-ai/skills · 25 tokens

lead-bug-hunt

Autonomous bug-elimination loop. Iteratively invokes /bug-hunt and /implement-batch until findings converge below an operator-specified severity floor. At termination, runs /review-test scoped to the run's new reproducing tests and fixes quality issues above the floor. Auto-approves /bug-hunt and /review-test ticket…

chrisallenlane/claude-swe-workflows · 104 tokens