notion-fios-init

notion-fios-init is a skill for Codex from rexchengm/fios-skills. It costs 166 tokens per session (1,761 once invoked), scanned A, original, MIT.

An initial setup tool that connects a FIOS Notion toolkit to the user’s own copy of FIOS. Notion is a workspace for pages and databases, and each copied template has different IDs for those databases.

In plain words
What is it for?
Use it the first time the FIOS tools are used, after copying the template to a different Notion account, or when a FIOS tool reports missing configuration. It verifies access and discovers the databases from the FIOS overview page.
Why use it?
It prevents the skills from trying to use someone else’s Notion records or failing because the user’s copy has not been identified. The setup reads the structure and creates local configuration without changing Notion data.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Good fit Use it the first time the FIOS tools are used, after copying the template to a different Notion account, or when a FIOS tool reports missing configuration. It verifies access and discovers the databases from the FIOS overview page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rexchengm/fios-skills/notion-fios-init
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.

Any agent
npx skills add rexchengm/fios-skills --skill notion-fios-init
Clone the repo
git clone --depth 1 https://github.com/rexchengm/fios-skills

Made for: 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 notion-fios-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/rexchengm/fios-skills/notion-fios-init/github.svg)](https://agentmods.dev/skills/rexchengm/fios-skills/notion-fios-init)
Your own site
<a href="https://agentmods.dev/skills/rexchengm/fios-skills/notion-fios-init"><img src="https://agentmods.dev/badge/skills/rexchengm/fios-skills/notion-fios-init/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.

agentmods 80×15 button for notion-fios-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/rexchengm/fios-skills/notion-fios-init"><img src="https://agentmods.dev/badge/skills/rexchengm/fios-skills/notion-fios-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 166 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,761 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00166 $0.01761
Opus 5 $0.00083 $0.00881
Sonnet 5 $0.00033 $0.00352
Haiku 4.5 $0.00017 $0.00176

Measured 11d ago against content hash 80ccb1431401, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

notion-fios-init 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 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/build_dimension_pages.js, scripts/fios_init.zsh), 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.

skills/notion-fios-init/SKILL.md · 91 lines

How it starts

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

FIOS 初始化(FIOS Init)

把 FIOS 技能套件绑定到买家自己那份 FIOS Notion 副本。FIOS 模板每个人复制出来的库 / 页面 ID 都不同,技能本身不含任何人的 ID——靠本技能在初始化时按买家自己的 FIOS 现场发现并生成本地配置。

全程只读买家的 Notion 结构(导出 hub 页、读 v1/data_sources/<id>v1/databases/<id>)。不创建、不修改、不删除任何 Notion 数据。

何时使用

  • 买家第一次用 FIOS 技能前。
  • 买家换了 Notion 账号 / 重新复制了模板 → 重新绑定。
  • 任何 FIOS 技能报「找不到 notion-intake-rules.json / schema / fios-dimension-pages.json」「未初始化」。

前置条件(先和买家确认齐全)

  1. 已拥有 FIOS 模板:买家已购买并把 FIOS 模板复制进了自己的 Notion(本技能不发模板,只做绑定)。
  2. 装好 ntn CLI 并完成 Notion 授权:
    • 买家在 https://www.notion.so/my-integrations 新建一个 internal integration,拿到 token。
    • 用买家自己的 token 配置 ntn(按 ntn 文档:通常是 ntn 首次运行引导,或设置其配置文件 / NOTION_TOKEN)。
    • 验证:ntn api v1/users/me 能返回买家自己的 bot 用户即可。
  3. 把 FIOS 分享给 integration:在 Notion 里打开 FIOS 顶层页(「数据管理」hub 页,里面列齐了全部数据库),右上角 ••• → 「连接」/「Connections」→ 选刚建的 integration。分享顶层即可让其下所有库可读。
  4. 本机有 nodejqpython3

⚠️ 只把 FIOS 这一份分享给 integration 就够了。本技能以 hub 页为锚、只认 hub 引用的库,买家的其他模板不会被牵连。

初始化流程

第 1 步:拿到 hub 页 URL

向买家要 FIOS「数据管理」hub 页的 URL(就是模板里那个用 callout 列出全部数据库的总览页)。 浏览器地址栏复制即可,形如 https://www.notion.so/...32位十六进制...

第 2 步:跑初始化脚本

本技能 scripts/<skills>/notion-fios-init/scripts/,底座技能在同级 <skills>/notion-life-system/

<skills>/notion-fios-init/scripts/fios_init.zsh "<hub页URL>"

脚本依次完成(每步都有日志):

  1. 导出 hub 页 → ~/.fios/数据管理.page.md(含全部 <database> 引用)。
  2. 只读拉取每个库结构 → ~/.fios/notion-system-structure/
  3. 重建 notion-life-system/references/notion-system-schema.json
  4. 重建 notion-life-system/references/notion-intake-rules.json(入库路由规则)。
  5. 结构自检 + 发现 10 个维度页 → notion-life-system/references/fios-dimension-pages.json

<skills> = 买家装技能的目录。Claude Code 通常是 ~/.claude/skills,Codex 是 ~/.codex/skills。脚本用 ${0:A:h} 自动定位自身,一般无需手填路径。 默认连直连 Notion;若买家网络需代理,export NOTION_CLI_PROXY=http://host:port 后再跑。 数据目录默认 ~/.fios,可 export FIOS_DATA_DIR=... 改。

第 3 步:核对自检结果

脚本末尾会打印:

  • 结构自检模板期望 53 个库,你的 FIOS 发现 N 个
    • 全部命中 → ✓。
    • 提示「缺少 X」→ 多半是该库没分享给 integration,或买家删过这个库。让买家在 Notion 里把缺的库(或 hub 顶层)分享给 integration 后重跑
    • 提示某库「字段差异较大」→ 可能买家改过该库结构,或 hub 误引了同名的别的库。和买家确认,必要时修正 hub 页再重跑。
  • 维度页发现10/10。少于 10 → 对应监管库没分享 / 没有那一行;fios-status 用到该维度时会提示补 page_id

Read the full file on GitHub · 91 lines

Files

What ships with it

3 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. 11d ago First seen · 91 lines · 166 tokens per session scan A 80ccb1431401

Subscribe to this mod's changes

notion-fios-init is a skill published in the GitHub repository rexchengm/fios-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 166 tokens to every session and 1,761 once invoked, about $0.0008 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.