CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

agent-state-bar

Agent 陷入无限循环、数不清工具调用次数、遗忘 TODO 或目标偏离、长任务中思考 token 持续膨胀时使用——Agent 状态栏机制、作为 user 消息注入末尾的 KV Cache 理由、每轮替换与持久追加两种实现及成本模型、五种状态栏技术(时间戳、工具计数器、TODO、详细错误、系统状态)与维护铁律。

Quality

84%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

71%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a well-organized, information-dense treatment of the status-bar pattern with concrete examples, a cost model, and explicit selection rules — but it monolithically keeps everything inline while pointing to companion code and book files that are not actually shipped in the skill bundle. Splitting the five-technique details and cost model into referenced files (or shipping the referenced paths) would complete the structure.

Suggestions

Ship or remove the dangling references: `chapter2/system-hint/` and `book/chapter2.md` do not exist in the skill bundle, so the 配套代码 and 深度阅读 sections point nowhere — either include them under references/ or drop/replace the pointers.

Move the per-technique details of 实践模式 4 (five status-bar techniques, ~8 lines each) into a separate reference file with one-line summaries in SKILL.md, keeping the main file at the decision level (position, composition, replace-vs-append, cost model).

Trim the introductory analogy and merge the overlapping attention-guidance bullets in 核心原则 with the corresponding 实践模式 sections to reclaim tokens without losing content.

DimensionReasoningScore

Conciseness

The body is dense and almost every section carries non-obvious information (KV-cache invalidation mechanics, the replace-vs-append cost model, experiment numbers), not concepts Claude already knows. A few sections could be tightened — the phone analogy in the intro and some overlap between 核心原则 and 实践模式 — placing it at anchor 4 rather than 5.

4 / 5

Actionability

Concrete, usable guidance throughout: an exact messages-array layout showing injection position, the `<agent_status>` tag format, timestamp format `[2025-09-14 10:30:45]`, counter notation `Tool call #3 for 'read_file'`, a cost formula with an explicit decision rule, and runnable commands (`python main.py --mode preview`). Not 5 because full copy-paste implementation code is not inline — it is delegated to the companion code path.

4 / 5

Workflow Clarity

The 实践模式 section presents a coherent progression (injection position → composition → two update implementations with an explicit selection rule and cost model → five techniques → pitfalls), and 常见陷阱 gives error-avoidance checkpoints. This is guidance for design choices rather than a destructive/batch procedure, so the missing validate-step pattern does not cap it; minor gaps keep it at 4 rather than 5.

4 / 5

Progressive Disclosure

The body is well-sectioned and navigable, but it is fully self-contained with all ~107 lines inline and no bundle files shipped (references/, scripts/, assets/ are absent). Its two cited paths — `chapter2/system-hint/` and `book/chapter2.md` — are dangling outside the skill bundle, so the 'deep reading' and 'companion code' pointers do not resolve within the skill. Anchor 3: structure exists, but references are neither present nor clearly navigable.

3 / 5

Total

15

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it explicitly answers both what (a comprehensive, specific enumeration of the skill's coverage) and when (four concrete symptom-based triggers), using third-person phrasing without fluff. Its only weakness is moderate synonym coverage in trigger terms.

DimensionReasoningScore

Specificity

The description enumerates concrete, comprehensive coverage: "Agent 状态栏机制", "KV Cache 理由", "每轮替换与持久追加两种实现及成本模型", and five named techniques "(时间戳、工具计数器、TODO、详细错误、系统状态)" plus "维护铁律". Multiple specific items with no real gaps in the skill's own scope, matching anchor 5.

5 / 5

Completeness

Both what and when are explicit: "…时使用" provides concrete trigger phrases, and the em-dash clause explicitly enumerates what the skill covers (mechanism, rationale, two implementations with cost model, five techniques, maintenance rules). Matches anchor 5 exactly; not 4 because the 'when' is already concrete and specific.

5 / 5

Trigger Term Quality

Symptom-based triggers are natural phrases an agent/user would express: "陷入无限循环", "数不清工具调用次数", "遗忘 TODO 或目标偏离", "思考 token 持续膨胀". Coverage is good but a few natural terms/synonyms are missing (e.g., context injection, progress tracking, state message), so anchor 4 rather than 5.

4 / 5

Distinctiveness Conflict Risk

The status-bar/injected-meta-information niche is clear and well-distinguished, with distinctive triggers (tool-call counting, thinking-token growth). Minor overlap risk with general agent-loop or TODO-management skills keeps it at anchor 4 rather than 5.

4 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

bojieli/ai-agent-book

Path

skills/agent-state-bar/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.