write-tfonto

write-tfonto is a skill for Claude Code, Codex from A2C-SMCP/theseus-kit. It costs 75 tokens per session (1,725 once invoked), scanned A, original, MIT.

A skill that converts structured knowledge lists and proposed capabilities into importable TFOnto files. TFOnto is a file format for describing a robot's concepts, data fields, relationships, and capabilities.

In plain words
What is it for?
Use it to create TFOnto files from concepts, fields, relationships, and approved capability descriptions, while checking names, references, and format rules.
Why use it?
It turns an already confirmed knowledge structure into the required file format without adding or changing concepts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

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/a2c-smcp/theseus-kit/write-tfonto
Any agent
npx skills add A2C-SMCP/theseus-kit --skill write-tfonto
Clone the repo
git clone --depth 1 https://github.com/A2C-SMCP/theseus-kit

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 write-tfonto

README.md
[![agentmods](https://agentmods.dev/badge/skills/a2c-smcp/theseus-kit/write-tfonto.svg)](https://agentmods.dev/skills/a2c-smcp/theseus-kit/write-tfonto)
Your own site
<a href="https://agentmods.dev/skills/a2c-smcp/theseus-kit/write-tfonto"><img src="https://agentmods.dev/badge/skills/a2c-smcp/theseus-kit/write-tfonto.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,725 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.1 $0.00075 $0.01725
Opus 5 $0.00037 $0.00863
Sonnet 5 $0.00015 $0.00345
Haiku 4.5 $0.00007 $0.00172

Measured 5d ago against content hash 0d2ee2853e61, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

write-tfonto 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate_tfonto.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

src/theseus_kit/skills/write-tfonto/SKILL.md · 75 lines

How it starts

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

Write TFOnto —— 知识结构与能力草图转 .tfo

把 persona-interview 产出的三张清单 + 能力草图(或任何画像文档中的概念/数据字段/关系/能力描述)转换为合法 .tfo 文件。事实正确性由清单确认环节保证,本技能只保证格式合法性——转换是机械活,不发明新概念、不改动需求方确认过的内容。

输入契约

输入必须是结构化清单:概念(名词 + 一句话定义)、数据字段(挂概念 + 类型)、关系(动词 + 方向 + 触发词),外加选交的能力草图(能力 → 形态 → 输入输出)。收到自由散文时,先用 AskUserQuestion 追问补全清单,不猜

转换规则

清单项 .tfo 归宿 要点
概念 object_types pos: [noun];有「名字」字段的概念写 name_properties;有业务唯一标识的写 primary_property
数据字段 properties domain 挂所属概念;data_range 写 JSON Schema 片段;单值字段加 characteristics: {is_functional: true}
关系 link_types 定向 domain → range;触发词进 trigger_words
能力草图 functions / actions 按场景组合表落位:只读 → query Function 单用;简单写 → Action + edit_set;复杂写 → Action 挂 edit Function;联动 → side_effects(见 references/capability-layer.md
  • ontology.namespace 写机器人代号(如 math-teacher),只允许 [A-Za-z0-9_.-]schema_version: 7
  • 能力草图是选交件:没有经需求方确认的能力不写 functions/actions;写了就必须过自检。

起草纪律

  1. name 跨五类全局唯一——重名平台直接拒绝导入。
  2. 引用写 name 不写 iddomain/range/name_properties/primary_property/depends_on/function_id 里写别的 Def 的名字;id 省略或写 auto
  3. 字段白名单(extra=forbid):每个 Def 只允许格式说明列出的字段,未知字段导入被拒。
  4. trigger_words 只属于 link_types:写在属性/概念上会被拒绝。
  5. 值域 data_range 必须是合法 JSON Schema 片段(mapping)——形状写清楚,机器人能力直接受益。

自检清单(交付门槛)

写完逐条核对(覆盖提交者最易写错的层;权威校验门是平台导入):

  • YAML 顶层是 mapping,无未知顶层键
  • schema_version: 7ontology.namespace 显式、非空、合法字符
  • 五类 Def 名字全文件唯一
  • 所有 domain/range/name_properties/primary_property/depends_on/function_id 引用都能解析到已定义的名字
  • 每个 data_rangesignature 是 mapping;trigger_words 只出现在 link_types
  • 若写 functions/actions:kind 合法、body 必填、Action 的 edit_set/backing 至少其一;结构与 references/teacher-math-example.mdreferences/capability-layer.md 范例一致
  • edit_set 操作形状(TR-013 §4.5,易错点):update_entity 的载荷是 prop_delta(动词 set/append/remove),props 只属于 create_entity/add_link;值位一律 {node: param, param: …}{node: literal, value: …}(见范例二 references/engineering-memory.tfo

Read the full file on GitHub · 75 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 75 lines · 75 tokens per session scan A 0d2ee2853e61

Subscribe to this mod's changes

write-tfonto is a skill published in the GitHub repository A2C-SMCP/theseus-kit (0 stars, last pushed 18d ago), licensed MIT. It adds 75 tokens to every session and 1,725 once invoked, about $0.0004 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

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

baoyu-youtube-transcript

Downloads YouTube video transcripts/subtitles and cover images by URL or video ID. Supports multiple languages, translation, chapters, and speaker identification. Caches raw data for fast re-formatting. Use when user asks to "get YouTube transcript", "download subtitles", "get captions", "YouTube字幕", "YouTube封面"…

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

gog-slides

Google Slides operations through gog.

openclaw/gogcli · 11 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens