taiyi-intel-scan

taiyi-intel-scan is a skill for Claude Code, Codex from Dong90/oh-my-taiyiforge. It costs 45 tokens per session (1,160 once invoked), scanned A, original, MIT.

A codebase intelligence scan that creates a readable CONTEXT.md file before a larger change is designed or implemented.

In plain words
What is it for?
Use it to locate relevant entry points, record existing patterns, flag risky areas, create a short reading list, and hand findings to the next change-planning step.
Why use it?
It replaces assumptions about an unfamiliar project with evidence about its structure, conventions, dependencies, tests, configuration, and risks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to locate relevant entry points, record existing patterns, flag risky areas, create a short reading list, and hand findings to the next change-planning step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dong90/oh-my-taiyiforge/taiyi-intel-scan
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 Dong90/oh-my-taiyiforge --skill taiyi-intel-scan
Clone the repo
git clone --depth 1 https://github.com/Dong90/oh-my-taiyiforge

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 taiyi-intel-scan

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dong90/oh-my-taiyiforge/taiyi-intel-scan"><img src="https://agentmods.dev/badge/skills/dong90/oh-my-taiyiforge/taiyi-intel-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,160 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.00045 $0.01160
Opus 5 $0.00023 $0.00580
Sonnet 5 $0.00009 $0.00232
Haiku 4.5 $0.00005 $0.00116

Measured 13d ago against content hash 07e5cdb9cc09, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

taiyi-intel-scan 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 13d 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/taiyi-intel-scan/SKILL.md · 134 lines

How it starts

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

taiyi-intel-scan

目的

在写 CHANGE / REQUIREMENT 之前,把与本次变更相关的代码现实整理成一份可读情报,避免设计阶段凭空假设、重复造轮子或踩遗留坑。

何时使用

信号 建议
新 slug 刚 taiyi init 默认跑一次
taiyi_assess 为 medium / high 必跑
不熟悉模块 / 跨多目录 必跑
单文件 typo 修复 可跳过

何时不用

  • 变更范围已在当前会话完全掌握
  • 纯文档 / 配置一字节代码不动(仍建议扫依赖与 CI)

输入

  • 用户意图或 Issue 摘要
  • (可选)CHANGE.md 草稿中的 Scope
  • 项目根目录只读访问

输出

  • 首选:.taiyi/changes/<slug>/CONTEXT.md(可从 templates/CONTEXT.md 种子起步)
  • 多变更共享基线:.taiyi/CONTEXT.md(在文件头注明 shared: true 与适用 slug)

执行步骤

1. 划定扫描边界

  1. 从用户描述提取 3–7 个关键词(模块名、路由、表名、API 前缀)
  2. grep / 语义搜索定位入口文件(路由注册、CLI、main、index)
  3. 列出直接相关目录(不超过 15 个),注明「必读 / 参考 / 勿动」

2. 提取模式(Pattern Inventory)

记录项目既有惯例,后续阶段必须对齐:

类别 记录什么 示例
目录结构 功能放哪 src/core/ vs lib/
命名 文件、导出、测试后缀 *.test.ts / test_*.py
测试 框架、运行命令、覆盖率习惯 vitest run
API / 数据 REST 风格、ORM、错误形状 { ok, error }
配置 环境变量、feature flag 位置 .env.example

3. 风险区标注

RISK(无测试、TODO 堆积、循环依赖、上帝文件)并给证据路径

  • 文件路径 + 行号或符号名
  • 为何影响本变更(一句话)
  • 建议:绕行 / 补测试 / 单独 slice

4. 阅读清单(Read First)

给出 3–5 个文件,按顺序,每文件一句话说明「读完知道什么」。

5. 与下游衔接

在文末写 Handoff

  • taiyi-change:Scope 建议、Out of scope 提醒
  • taiyi-design:可复用组件、禁止重写的子系统
  • 若发现架构级未知:建议 taiyi-architect

CONTEXT.md 模板

# CONTEXT: <slug>

> 生成:taiyi-intel-scan · 只读扫描,非设计结论

## Scope 摘要

<!-- 一句话 -->

## 相关目录

| 路径 | 关系 | 备注 |
|------|------|------|
| | 必读 / 参考 / 勿动 | |

## 模式清单

- 测试:`...`
- API:`...`
- 命名:`...`

## 风险区

| 级别 | 位置 | 说明 | 建议 |
|------|------|------|------|
| RISK | `path:line` | | |

## Read First

1. `path` — …
2. `path` — …

## Handoff

- change:…
- design:…

质量自检

  • 每条结论有路径证据,无「据说」「可能」式空话
  • 未在本 Skill 内改业务代码(只读)
  • 篇幅可控:CONTEXT 建议 80–200 行,过长则拆「附录:文件索引」
  • CHANGE.md Scope 无矛盾;有矛盾则在 Handoff 标明

与工具链

  • OpenCode:taiyi_assess 推荐本 Skill 时自动出现在 guide
  • 复杂仓库可叠加其他 codebase 类 Skill,摘要写入 CONTEXT,不替代本工件

Read the full file on GitHub · 134 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. 13d ago First seen · 134 lines · 45 tokens per session scan A 07e5cdb9cc09

Subscribe to this mod's changes

taiyi-intel-scan is a skill published in the GitHub repository Dong90/oh-my-taiyiforge (888 stars, last pushed 5d ago), licensed MIT. It adds 45 tokens to every session and 1,160 once invoked, about $0.0002 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

review

Use when the user wants code assessed rather than changed — "review PR 88", "is this branch ready to merge?", "look over my changes", "any problems with this diff?", "give me a code review", "what do you think of this PR?", "sanity-check this branch", "ship it?". Applies to a pull request or the current branch when…

The01Geek/prflow · 123 tokens

fix

PRFlow's code-review reception skill (formerly receiving-code-review), used by the review-and-fix loop and available directly. Use when addressing review feedback already posted on a pull request — verifying findings before applying them — as distinct from /prflow:review-and-fix, which runs the review itself and then…

The01Geek/prflow · 82 tokens

review-and-fix

Use when the user wants problems in a pull request or the current branch both found AND corrected — "review my changes and fix what's wrong", "clean up whatever the review turns up", "address the review feedback on this branch", "tidy this PR up before merge", "find and fix the issues here". Requires explicit fix…

The01Geek/prflow · 88 tokens

docs-bootstrap-internal

Use when a codebase has no structured developer documentation yet and needs it built from scratch — "we have no docs at all", "set up internal docs for this repo", "the docs directory is a mess, start over", "create developer documentation for this codebase" — including an empty or disorganized docs directory or a…

The01Geek/prflow · 94 tokens

docs-release-notes

Use when a change needs a user-visible release-note, changelog, or changeset entry — "add a release note", "add a changeset for this", "what goes in the changelog?", "write up what shipped", "note this for the next release" — or when finalizing a branch whose customer-visible features, bug fixes, or UI changes should…

The01Geek/prflow · 106 tokens

docs-sync-internal

Use when code changes on the current branch need matching internal or developer documentation — "update our internal docs", "the architecture docs are stale after this change", "document what I just changed", "do the dev docs still match the code?" — or as a pre-push check that developer docs track the code. Narrower…

The01Geek/prflow · 105 tokens