compile

compile is a skill for Claude Code, Codex from OneMore07/NoteFlowOS. It costs 27 tokens per session (627 once invoked), scanned A, original, MIT.

A knowledge-compilation workflow for NoteFlow OS, a note system that separates incoming material, source files, projects, and reusable knowledge.

In plain words
What is it for?
Use it to compile a file, folder, or processed inbox items into wiki concepts and articles, relocate handled material, add cross-links, and update the index.
Why use it?
It turns processed notes and source material into organized wiki content, while reducing duplicates and keeping links between sources, concepts, articles, and projects.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/onemore07/noteflowos/compile
Any agent
npx skills add OneMore07/NoteFlowOS --skill compile
Clone the repo
git clone --depth 1 https://github.com/OneMore07/NoteFlowOS

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 compile

README.md
[![agentmods](https://agentmods.dev/badge/skills/onemore07/noteflowos/compile.svg)](https://agentmods.dev/skills/onemore07/noteflowos/compile)
Your own site
<a href="https://agentmods.dev/skills/onemore07/noteflowos/compile"><img src="https://agentmods.dev/badge/skills/onemore07/noteflowos/compile.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00627
Opus 5 $0.00014 $0.00313
Sonnet 5 $0.00005 $0.00125
Haiku 4.5 $0.00003 $0.00063

Measured 5d ago against content hash 4a7fe0da0b42, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

compile 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 5d 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/compile/SKILL.md · 96 lines

What it actually says

你是 NoteFlow OS 的知识编译器。你的职责是把 00_Inbox/40_Sources/20_Projects/ 中可复用的内容提炼到 30_Wiki/,并顺手完成归位。

1 目标

  • 提炼概念、洞察和主题
  • 更新或新建 30_Wiki
  • 建立交叉链接
  • 让已处理材料回到正确目录

2 输入

  • /compile <路径>
  • /compile

无参数时,默认扫描 00_Inbox/status: processed 的条目。

3 工作流

3.1 确定编译目标

  • 单文件:编译该文件
  • 文件夹:扫描其中 Markdown 文件
  • 无参数:扫描 00_Inbox/ 的已处理条目

3.2 判断价值

优先提取以下内容:

  • 可独立存在的概念
  • 能跨项目复用的结论
  • 有结构的分析与方法论

以下内容通常不编译:

  • 纯提醒
  • 无结论的短备忘
  • 仅一次性使用的杂项记录

3.3 查重

在写入前,先搜索:

  • 30_Wiki/Articles/
  • 30_Wiki/Concepts/

已有相同主题时,优先追加而非新建。

3.4 写入目标

  • 概念 -> 30_Wiki/Concepts/
  • 深度主题 -> 30_Wiki/Articles/
  • 项目相关结论 -> 可同时追加到 20_Projects/

3.5 归位与迁移

归位与迁移由本流程直接完成:

  • 已处理的 Inbox 条目:迁移到 40_Sources/ 或在原位标记完成
  • 外部原始材料:放入 40_Sources/
  • 已被吸收的项目参考材料:保留来源链接

原则:

  • 40_Sources 放原料
  • 30_Wiki 放总结

3.6 交叉链接

至少建立以下两类链接:

  • 源材料 -> Wiki
  • Wiki -> 相关项目 / 相关概念

3.7 更新索引

编译完成后,运行 /reindex 更新受影响索引。

4 输出

## 编译完成

**来源**: <路径>
**新建**: N 个
**更新**: N 个
**归位**: 已迁移到正确目录

5 边界

  • 所有输出使用中文
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. 5d ago First seen · 96 lines · 27 tokens per session scan A 4a7fe0da0b42

Subscribe to this mod's changes

compile is a skill published in the GitHub repository OneMore07/NoteFlowOS (10 stars, last pushed 3mo ago), licensed MIT. It adds 27 tokens to every session and 627 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

obsidian

Obsidian vault: search/read/write notes, backlinks, Bases, Canvas.

steipete/agent-scripts · 19 tokens

loopx-doc-registry

Use when a connected LoopX project is asked to read, remember, record, index, register, or use a durable project material such as a Lark/wiki/design doc, research note, SOP, owner packet, migration report, benchmark paper, or external material source. Use even when the user does not mention LoopX or doc registry.

huangruiteng/loopx · 74 tokens

mindos-zh

MindOS 是用户的本地知识助手,也是跨会话、跨 Agent 共享的知识库。它保存决策记录、会议纪要、SOP、 排错经验、架构选型、调研结论和偏好设置。 仅 mindRoot 知识库内任务。不用于:改代码仓库、项目源码、KB 外路径。 核心概念:空间、指令(INSTRUCTION.md)、技能(SKILL.md);笔记可承载指令与技能。 触发场景:保存或记录任何内容、搜索历史笔记或上下文、更新或编辑文件、整理或重组文件结构、 执行SOP或工作流、捕获对话中的决策、复盘或总结经验、追加表格或CSV数据、跨Agent交接上下文、 提炼经验教训、同步关联文档、查找之前是否讨论过某事、查询历史决策、查找模板或SOP、…

GeminiLight/MindOS · 490 tokens

excel-author

Create and edit Excel (.xlsx) workbooks with openpyxl. Supports formulas, charts, formatting, and data analysis.

fuyuxiang/echo-agent · 28 tokens

ppt-author

Create and edit PowerPoint (.pptx) presentations programmatically. Requires python-pptx.

fuyuxiang/echo-agent · 22 tokens

ocr-document

Extract text from PDFs, images, and scanned documents. Uses pymupdf (local) or optional cloud OCR APIs.

fuyuxiang/echo-agent · 27 tokens