code-search

code-search is a skill for Claude Code, Codex from 1aifanatic/super-computer. It costs 46 tokens per session (417 once invoked), scanned A, original, MIT.

A code-search guide for finding where functions, symbols, settings, and behaviours are defined in an unfamiliar workspace.

In plain words
What is it for?
It is for locating definitions, callers, configuration values, tests, and relevant directories before editing a codebase.
Why use it?
It reduces the need to read whole files or search blindly before making a change.

Skill for Claude CodeCodex

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

Good fit It is for locating definitions, callers, configuration values, tests, and relevant directories before editing a codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/1aifanatic/super-computer/code-search
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 1aifanatic/super-computer --skill code-search
Clone the repo
git clone --depth 1 https://github.com/1aifanatic/super-computer

Made for: Claude Code, Codex.

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 code-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/1aifanatic/super-computer/code-search/github.svg)](https://agentmods.dev/skills/1aifanatic/super-computer/code-search)
Your own site
<a href="https://agentmods.dev/skills/1aifanatic/super-computer/code-search"><img src="https://agentmods.dev/badge/skills/1aifanatic/super-computer/code-search/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 code-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/1aifanatic/super-computer/code-search"><img src="https://agentmods.dev/badge/skills/1aifanatic/super-computer/code-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 417 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.00046 $0.00417
Opus 5.5 $0.00018 $0.00167
Sonnet 5.5 $0.00009 $0.00083
Haiku 4.5 $0.00005 $0.00042

Measured 1mo ago against content hash d628d1263c09, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-search 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 1mo 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/code-search/SKILL.md · 52 lines

What it actually says

Finding things in a Workspace

Search before you read. Reading whole files to locate one symbol wastes context you will need later for the actual work.

Order of operations

  1. list_dir /workspace first. Layout tells you where to look and stops you searching the whole tree.
  2. glob when you know roughly what the file is called — *.config.*, *test*, *.md.
  3. grep when you know what the code says rather than where it lives.
  4. read_file last, and with offset/limit once grep has told you the line number.

Patterns that pay off

Find a definition rather than every mention:

grep -rn "function handlePayment" /workspace
grep -rn "class .*Repository" /workspace
grep -rn "export (const|function|class) name" /workspace

Find callers, then narrow:

grep -rn "handlePayment(" /workspace

Find configuration and constants:

grep -rni "timeout|retry|max_|limit" /workspace

Get the shape of a file cheaply before reading it:

grep -n "^(export |function |class |def |const )" /workspace/src/thing.ts

When a search returns too much

Do not read all of it. Narrow instead: add a directory, add context to the pattern, or count first with grep -rc pattern /workspace to see whether the search was even the right one.

Reporting

Answer with file paths and line numbers, not prose summaries of code the Operator can read. src/billing.ts:412 is more useful than three sentences describing what happens there.

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. 1mo ago First seen · 52 lines · 46 tokens per session scan A d628d1263c09

Subscribe to this mod's changes

code-search is a skill published in the GitHub repository 1aifanatic/super-computer (1 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 417 once invoked, about $0.0002 per session on Opus 5.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

flaremo-memory

A shared memory ledger for coding agents. It defines how agents check project rules, record facts during work, and save a handoff report at the end.

realchendahuang/FlareMo · 138 tokens

cloudflare-workers-debugging

Use when wrangler deploys silently fail or produce wrong artifacts, secrets upload as empty strings, custom domain DNS is not resolving, route assignment broke after rename, observability/tail logs are needed, D1/KV/R2 bindings are missing, OAuth scope errors block a command, cookies on a redirect are not attaching…

curiositech/windags-skills · 162 tokens

tanstack-devtools

Centralized, extensible devtools panel for TanStack libraries with a plugin architecture.

louisbrulenaudet/monorepo-template · 22 tokens

stuck

Diagnose frozen, stuck, or slow Qwen Code sessions on this machine. Scans for problematic processes, high CPU/memory usage, hung subprocesses, and debug logs. Use /stuck or /stuck to focus on a specific process.

QwenLM/qwen-code · 57 tokens

structured-debugging

Hypothesis-driven debugging methodology for hard bugs. Use this skill whenever you're investigating non-trivial bugs, unexpected behavior, flaky tests, or tracing issues through complex systems. Activate proactively when debugging requires more than a quick glance — especially when the first attempt at a fix didn't…

QwenLM/qwen-code · 85 tokens

test-failure-explorer

Import and query an existing Vitest 3.2 JSON report to explore test failures, file-level errors and original diagnostic evidence.

QwenLM/qwen-code · 32 tokens