Borrowing it
Nothing to install: this file belongs to double-coding-lab/Flow2Spec. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/double-coding-lab/Flow2Spec/main/.claude/skills/f2s-kb-rm/SKILL.mdgit clone --depth 1 https://github.com/double-coding-lab/Flow2SpecWrote 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.
[](https://agentmods.dev/skills/double-coding-lab/flow2spec/f2s-kb-rm)<a href="https://agentmods.dev/skills/double-coding-lab/flow2spec/f2s-kb-rm"><img src="https://agentmods.dev/badge/skills/double-coding-lab/flow2spec/f2s-kb-rm/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.
<a href="https://agentmods.dev/skills/double-coding-lab/flow2spec/f2s-kb-rm"><img src="https://agentmods.dev/badge/skills/double-coding-lab/flow2spec/f2s-kb-rm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.00908 |
| Opus 5.5 | $0.00016 | $0.00363 |
| Sonnet 5.5 | $0.00008 | $0.00182 |
| Haiku 4.5 | $0.00004 | $0.00091 |
Grade A, and why
f2s-kb-rm 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.
What it actually says
执行口径:仅维护
.Knowledge,不改配置根rules/skills。
编排(主 / 子 agent)
- 两字段(
subAgent/switchAgentVerification)语义以统一入口为唯一事实源:Cursor/Claude 读配置根rules/f2s-flow2spec-unified-entry.*;Codex 读.codex/topics/f2s-flow2spec-unified-entry.md(与上同源,flow2spec init镜像)。不在此复述。 - 默认主 agent 全流程执行(单点删除拆子收益低)。
- 拆子阈值:仅当
subAgent=true且批量删除一次 ≥ 5 主题时,才拆子执行删除与清引用。 - 主必控:范围确认、
fallbackTopic重指。 - 写权硬约束:
manifest-routing.json与.Knowledge/index.md恒由主 agent 落盘。 - 验证:默认落盘侧自验;本 SKILL 不绑定交叉校验。
删除文档对应的项目上下文
输入
- 一个参数:
.Knowledge/stock-docs/<文件名>.md路径,或可匹配文件名片段。
执行步骤
- 读取
.Knowledge/index.md,匹配目标文档相关主题。 - 删除对应
.Knowledge/topics/<topic>.md文件。 - 从
.Knowledge/index.md移除匹配项并写回。 - 更新路由清单:
.Knowledge/manifest-routing.json:移除失效topicPaths、taskToTopicRules、topicDependencies、topicMetadata引用- 对应
matchers/<matcherId>.json:移除失效规则或includeAny词条(与已删task/matcherId对齐) - 若删除了
fallbackTopic,必须指定新的兜底主题 - 创作侧准则:本步会调整
topicDependencies(删除被依赖主题或孤儿边),须先 Readrules/f2s-topic-authoring.*全文(Cursor/Claude:rules/f2s-topic-authoring.mdc;Codex:.codex/topics/f2s-topic-authoring.md),核对 DAG 与最小化约束后再落盘。
输出摘要(必须)
- 已删除的 topic 文件列表
.Knowledge/index.md删除的条目- 路由清单调整的字段
- 未执行项(若有)
复杂场景示例
用户输入文件名片段「回调」,匹配到 2 个主题文档。
- 先列出两个候选并要求用户确认删除范围,避免误删。
- 删除后同步清理路由清单失效引用;若删到了
fallbackTopic,必须先指定新的兜底主题再落盘。 - 最终摘要中写清:删除了哪些 topic、保留了哪些 topic、为什么。
约束
- 匹配多义时先询问用户确认。
- 仅删除命中主题,不影响其它主题。
manifest-routing.json与.Knowledge/index.md恒由主 agent 落盘(写权硬约束);范围确认与fallbackTopic重指不可下放给子 agent。
完成后自检
- 被删 topic 是否仍被
manifest引用(必须为否)。 index是否仍存在失效主题路径(必须为否)。topicMetadata是否仍引用已删除 topic(必须为否)。fallbackTopic是否仍有效。- 未在低于拆子阈值(< 5 主题)时强行拆子;manifest / index 由主单点落盘。
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.
- 1mo ago First seen · 62 lines · 40 tokens per session scan A d7120b62393f
f2s-kb-rm is a skill published in the GitHub repository double-coding-lab/Flow2Spec (52 stars, last pushed 6d ago), licensed MIT. It adds 40 tokens to every session and 908 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-30.
Other skills, from other repositories
forget
Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…
mem0-oss-to-platform
Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
shellm
Reference for the shellm system — recursive LLM shell, identity management, memory, skills, trajectory, and all CLI tools. Use when working on shellm itself, debugging agent behavior, or understanding how the pieces fit together.