local-seek

local-seek is a skill for Claude Code, Codex from taxueseek/argo. It costs 84 tokens per session (2,020 once invoked), scanned A, original, Apache-2.0.

A Chinese-language local file-search workflow that first locates matching files, then shows nearby lines, and finally reads only the needed sections.

In plain words
What is it for?
Use it to search file names or contents, count matches, view small context windows, filter by file type, return structured JSON, or search more broadly when ordinary local search is insufficient.
Why use it?
It reduces time and output when searching a computer by avoiding full-file reading before the relevant files and passages are known. It is intended for local files, alongside a separate tool for web searches.

Skill for Claude CodeCodex

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

Good fit Use it to search file names or contents, count matches, view small context windows, filter by file type, return structured JSON, or search more broadly when ordinary local search is insufficient.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/taxueseek/argo/local-seek
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 taxueseek/argo --skill local-seek
Clone the repo
git clone --depth 1 https://github.com/taxueseek/argo

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 local-seek

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/taxueseek/argo/local-seek"><img src="https://agentmods.dev/badge/skills/taxueseek/argo/local-seek.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,020 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.00084 $0.02020
Opus 5.5 $0.00034 $0.00808
Sonnet 5.5 $0.00017 $0.00404
Haiku 4.5 $0.00008 $0.00202

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

Security

Grade A, and why

local-seek 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.

The scan reads SKILL.md. This mod also ships 15 executable files (scripts/eval_rank.py, scripts/eval_seek.py, scripts/seek_frecency.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

sub-skills/local-seek/SKILL.md · 111 lines

How it starts

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

local-seek — 本地高效搜索(v1.6.0)

搜本机文件和内容就从这里开始。工具的输出就是答案,不用再自己翻一遍。 与 Argo(联网搜索)分工:Argo 搜网络,本技能搜本机。

三层递进:先定位、再看上下文、最后精读

不要一上来就读文件。一层层往里走,每层的结果都不多:

层 干什么 命令 输出量
L1 定位 找到「在哪个文件」 seek.py "词" --count 或 --filename 每文件一行
L2 上下文 看命中位置附近 seek.py "词" --context 2 每命中 3 行
L3 精读 读关键段落 read_file 按行号局部读取 按需

每次搜索先想清楚停在哪一层,默认只做第一层。

统一入口

统一走 scripts/seek.py(相对 argo 根:sub-skills/local-seek/scripts/seek.py), 由它选工具,不要自己拼 rg/fd 参数:

# 以下以 argo 安装根为 cwd;或写死 $ARGO_HOME/sub-skills/local-seek/scripts/seek.py
python3 sub-skills/local-seek/scripts/seek.py "查询词"                 # 默认:当前目录全文
python3 sub-skills/local-seek/scripts/seek.py "查询词" --path ~/notes   # 指定目录
python3 sub-skills/local-seek/scripts/seek.py "词" --path ~/.agents --dot  # 连 . 开头目录与软链一起搜;搜 ~/.agents、~/.zcode 要加(Spotlight 收不到)
python3 sub-skills/local-seek/scripts/seek.py "词" --path . --include-noise  # repos/、tests/ 等与真源平权(默认排真源之后,仍搜得到)
python3 sub-skills/local-seek/scripts/seek.py "查询词" --count          # 先数命中,再决定是否深入
python3 sub-skills/local-seek/scripts/seek.py "查询词" --filename       # 按文件名
python3 sub-skills/local-seek/scripts/seek.py "查询词" --spotlight      # 全盘兜底(PDF/邮件/笔记)
python3 sub-skills/local-seek/scripts/seek.py "查询词" --type py,ts
python3 sub-skills/local-seek/scripts/seek.py "查询词" --json           # 结构化输出
python3 sub-skills/local-seek/scripts/seek.py "查询词" --exact          # 关闭中文扩展,精确匹配
python3 sub-skills/local-seek/scripts/seek.py "查询词" --exclude 某文件 # 额外排除(可重复)
python3 sub-skills/local-seek/scripts/seek.py --outline 文件路径        # 文件结构(def/class/标题/顶层key)
python3 sub-skills/local-seek/scripts/seek.py --lines 10-50 文件路径    # 按行读取,替代 read_file 全文
python3 sub-skills/local-seek/scripts/seek.py "裸except" --structural   # 结构搜索(空catch/裸except/装饰函数等)
python3 sub-skills/local-seek/scripts/seek.py --git-log 文件路径        # 文件的最近提交历史
python3 sub-skills/local-seek/scripts/seek.py --git-blame 12 文件路径   # 第 12 行的提交归属

内置智能行为(固定字符串回退、中文 2-gram 扩展、PCRE2 检测、结构搜索、 git 联动等)自动生效,明细见 references/auto-behaviors.md。

Read the full file on GitHub · 111 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 Changed · +4 lines 6b8da3b9534a
  2. 18d ago Changed 963735a337ef
  3. 20d ago Changed eac6c2f6523c
  4. 25d ago Changed · +1 lines 40a28db9502b
  5. 1mo ago Changed · +1 lines 2d13f0998e93
  6. 1mo ago Changed · +6 lines · +84 tokens per session e8424ba4c4e1
  7. 1mo ago Changed 3c9c189d38d4
  8. 1mo ago First seen · 99 lines · 0 tokens per session scan A 497757d25579

Subscribe to this mod's changes

local-seek is a skill published in the GitHub repository taxueseek/argo (205 stars, last pushed 2d ago), licensed Apache-2.0. It adds 84 tokens to every session and 2,020 once invoked, about $0.0003 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-30.