Agent skill

Agent Optimizer

by chujianyun in chujianyun/skills

Agent 设计顾问与审查工具。基于 12-Factor AgentOps 最佳实践,用于:(1) 探讨 Agent 架构设计方案;(2) 审查现有 Agent/Skill/工作流的设计,发现问题,给出改进建议。触发词:审查我的 agent、帮我分析这个 skill、agent 设计、agent 优化、帮我 review 这个工作流、这个 agent 有什么问题、怎么设计…

Custom licenceAuto-check passedDevelopment

Install Agent Optimizer

skills CLI
$ npx skills add chujianyun/skills --skill agent-optimizer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install chujianyun/skills agent-optimizer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/chujianyun/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/agent-optimizer .claude/skills/agent-optimizer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agent-optimizer
GitHub stars
740
Token cost
~764 tokens
SKILL.md length
205 words
Files
11 (incl. references, assets)
Skills in repo
35
Repo updated
First seen
Licence
Custom licence

At a glance

Agent 设计顾问与审查工具。基于 12-Factor AgentOps 最佳实践,用于:(1) 探讨 Agent 架构设计方案;(2) 审查现有 Agent/Skill/工作流的设计,发现问题,给出改进建议。触发词:审查我的 agent、帮我分析这个 skill、agent 设计、agent 优化、帮我 review 这个工作流、这个 agent 有什么问题、怎么设计…

  • Works in 4 steps: 弄清楚用户的目标和约束(单 Agent 还是多 Agent?是否已有工作流?) → 对照 12 个因素,给出具体设计建议 → 按层次推进:先基础层够用再考虑规模层 → …
  • Development work in your project
  • SKILL.md covers 核心框架:12-Factor AgentOps, 工作模式, 常见反模式速查 and 参考文档
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agent Optimizer is an agent skill from chujianyun/skills. Agent 设计顾问与审查工具。基于 12-Factor AgentOps 最佳实践,用于:(1) 探讨 Agent 架构设计方案;(2) 审查现有 Agent/Skill/工作流的设计,发现问题,给出改进建议。触发词:审查我的 agent、帮我分析这个 skill、agent 设计、agent 优化、帮我 review 这个工作流、这个 agent 有什么问题、怎么设计 agent、agent 架构咨询。

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including reference files and assets (for example `assets/templates/review-template.md`, `references/factor-1-context.md` and `references/factor-10-12-scale.md`).

It sits in Development. It works with Git. The repository describes itself as: WuMing's Claude Skills.

When your agent uses it

  • Development work in your project

Example prompts

  • “/agent-optimizer”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 弄清楚用户的目标和约束(单 Agent 还是多 Agent?是否已有工作流?)
  2. 对照 12 个因素,给出具体设计建议
  3. 按层次推进:先基础层够用再考虑规模层
  4. 提供具体的结构示例(文件结构、Prompt 设计、交接格式等)

What it can do on your machine

Read from SKILL.md and the folder at commit 62e7c89. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • 12factoragentops.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent Optimizer loads about 764 tokens when it runs, and up to ~6.4k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 205 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~764
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 205 words (~764 tokens).

“基于 12-Factor AgentOps 框架,提供 Agent 设计咨询和现有 Agent/Skill 的问题审查与优化建议。”

— opening of SKILL.md by chujianyun, Custom licence
name
agent-optimizer

Read the full SKILL.md on GitHub

Files

SKILL.md and 10 other files (references, assets) in skills/agent-optimizer of chujianyun/skills.

  • SKILL.md
  • assets/templates/review-template.md
  • references/factor-1-context.md
  • references/factor-10-12-scale.md
  • references/factor-2-git.md
  • references/factor-3-one-task.md
  • references/factor-4-research.md
  • references/factor-5-validation.md
  • references/factor-6-ratchet.md
  • references/factor-7-8-knowledge.md
  • references/factor-9-metrics.md

Open the folder on GitHubat commit 62e7c89

Compare with similar skills

Agent Optimizer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent Optimizer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Optimizer this skillchujianyun/skills740—~764Automated safety check: PassCustom licence
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything86k1 repos~1.2kAutomated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Codebase Knowledge Graph Q&A

    Egonex-AI/Understand-Anything

    Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.

    86k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Understand Explain

    Egonex-AI/Understand-Anything

    Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.

    86k GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed

More from chujianyun/skills

All 35 skills in this repo
  • 为照片、身份证、护照、学位证、毕业证、资格证、营业执照等证件或证书扫描件及 PDF 添加本地文字水印。用户提出照片加版权水印、身份证或学历证件添加“仅限某用途”水印、资质文件批量加水印、生成水印预览,或需要保持头像、二维码、印章等区域可辨认时使用。支持 JPEG、PNG、WebP 和 PDF,默认先预览、保留原件并清除图片元数据。不用于去除水印、伪造或篡改证件内容,也不用于仅设计 Logo…

    740 GitHub stars~820 tokensUpdated 13 days ago
    Auto-check passed
  • Baize

    chujianyun/skills

    将公开或用户有权访问的 Wiki 完整转换为面向 Agent 的离线知识 Skill,并按原 Wiki 层级保存 Markdown、生成检索索引和逐文档哈希清单,支持无变化不落盘的手动或自动增量更新。当用户要求把 Wiki、文档站或帮助中心做成 Skill、同步已有 Wiki Skill、保持文档目录树或设置 Wiki Skill 自动更新时使用;不用于只摘要单篇网页或绕过登录、付费墙和访问控制。

    740 GitHub stars~876 tokensUpdated 13 days ago
    Auto-check passed
  • GitHub Code Interpreter

    chujianyun/skills

    GitHub 源码解读助手。适用于用户提供 GitHub 仓库链接,并希望解读源码、理解原理、分析架构、生成学习报告或快速上手文档时使用。会在 working 目录下生成源码解读和快速上手两份文档。默认先交付初稿,不自动复查;如果用户明确同意,再安排后续复查。不适用于仅克隆仓库或只要一句简介的场景。

    740 GitHub stars~611 tokensUpdated 13 days ago
    Auto-check passed
  • Llama Index Wiki

    chujianyun/skills

    LlamaIndex 官方用户文档离线知识库,用于检索并回答 LlamaIndex Python 框架的安装、RAG、数据加载、索引、检索与查询、Agent、Workflow、模型、Embedding、向量库、评估、可观测性、部署、LlamaCloud 和 LlamaParse 等问题,也可生成有文档依据的示例代码与排障建议。当用户提到…

    740 GitHub stars~480 tokensUpdated 13 days ago
    Auto-check passed
  • Paper Interpreter

    chujianyun/skills

    论文解读助手。适用于用户发送 arXiv 论文链接,并希望下载论文、解读论文、生成读书笔记、做论文拆解或输出详细报告时使用。会在工作目录创建论文文件夹、下载 PDF 与 TeX Source(如有)、生成中文 Markdown 报告。默认先交付初稿,不自动复查;如果用户明确同意,再安排后续复查。不适用于只要简短推荐语的情况。

    740 GitHub stars~810 tokensUpdated 13 days ago
    Auto-check passed
  • Qianwenai Wiki

    chujianyun/skills

    千问AI平台(Qianwen AI Platform / DashScope)官方文档离线知识库,用于检索并回答模型选择、API Key、OpenAI 兼容接口、DashScope SDK、文本与多模态生成、图像/视频/语音、Realtime API、Embedding、Reranking、Function Calling、MCP、批量调用、计费、Token Plan、API/SDK/CLI…

    740 GitHub stars~717 tokensUpdated 13 days ago
    Auto-check passed

Works with

Categories

Questions about Agent Optimizer

What does Agent Optimizer do?

Agent 设计顾问与审查工具。基于 12-Factor AgentOps 最佳实践,用于:(1) 探讨 Agent 架构设计方案;(2) 审查现有 Agent/Skill/工作流的设计,发现问题,给出改进建议。触发词:审查我的 agent、帮我分析这个 skill、agent 设计、agent 优化、帮我 review 这个工作流、这个 agent 有什么问题、怎么设计…. Agent Optimizer is an agent skill from chujianyun/skills.

When should I use Agent Optimizer?

Agent Optimizer fits situations like: development work in your project.

How do I install Agent Optimizer in Claude Code?

Run `npx skills add chujianyun/skills --skill agent-optimizer -a claude-code`. Or copy the skill folder (skills/agent-optimizer in chujianyun/skills) into .claude/skills/agent-optimizer in your project. Claude Code loads it when a task matches its description.

How do I install Agent Optimizer in Codex?

Run `npx skills add chujianyun/skills --skill agent-optimizer -a codex`. Or copy the skill folder (skills/agent-optimizer in chujianyun/skills) into .agents/skills/agent-optimizer in your project. Codex loads it when a task matches its description.

Can I use Agent Optimizer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add chujianyun/skills --skill agent-optimizer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-optimizer, .gemini/skills/agent-optimizer, .github/skills/agent-optimizer and .opencode/skills/agent-optimizer in your project.

What does Agent Optimizer need to run?

SKILL.md names no scripts, command-line tools or credentials: Agent Optimizer is instructions for the agent only.

Does Agent Optimizer access the network?

SKILL.md names 1 domain. As links in the text: 12factoragentops.com. This is read from the text; nothing was executed.

Is Agent Optimizer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Agent Optimizer use?

Agent Optimizer has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Agent Optimizer use?

About 764 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.6k tokens, read only when the agent opens those files.

What are the alternatives to Agent Optimizer?

Skills that share tags, products or a category with Agent Optimizer: Finishing a Development Branch (obra/superpowers, 296k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Codebase Knowledge Graph Q&A (Egonex-AI/Understand-Anything, 86k stars) and Code Design Rationale Investigator (cursor/plugins, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Optimizer?

chujianyun (a GitHub user) maintains it in chujianyun/skills, which has 740 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on September 25, 2026.

Source: chujianyun/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.