passport-build

passport-build is a skill for Claude Code, Codex from FoloToy/ai-passport. It costs 43 tokens per session (765 once invoked), scanned A, original, MIT.

A workflow for building, checking and packaging FoloToy AI Passport firmware with a matching merged device image and debugging files.

In plain words
What is it for?
It is for build requests, firmware tests, configuration checks, and preparing a package with the files needed for later device debugging.
Why use it?
It helps ensure the delivered firmware matches the requested configuration and passes the project's existing validation checks. It does not flash, commit or publish the result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 tools/archive_firmware.py verify <archive-directory>.

Good fit It is for build requests, firmware tests, configuration checks, and preparing a package with the files needed for later device debugging.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/FoloToy/ai-passport
agentmods
npx agentmods add skills/folotoy/ai-passport/passport-build

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 passport-build

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/folotoy/ai-passport/passport-build"><img src="https://agentmods.dev/badge/skills/folotoy/ai-passport/passport-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 765 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.00043 $0.00765
Opus 5.5 $0.00017 $0.00306
Sonnet 5.5 $0.00009 $0.00153
Haiku 4.5 $0.00004 $0.00076

Measured 1mo ago against content hash 58663d26d30f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

passport-build 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.

skills/passport-build/SKILL.md · 69 lines

How it starts

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

Build and Package Firmware

Resolve the target checkout, run git status --short --branch, and read AGENTS.md, docs/development/engineering/build-and-test.md, and docs/development/engineering/firmware-layout.md there. All commands below run from that checkout; never infer a developer-specific IDF path.

Build the requested configuration

  1. Confirm ESP-IDF 5.5.3 is activated. If missing, use passport-setup when available or its environment-setup document. Obtain required network/system permissions rather than bypassing them.
  2. Check tracked defaults, dependencies, and partitions against the requested application. The gate uses isolated configuration from sdkconfig.defaults, not the ignored root sdkconfig. If the user wants a local-only setting in the delivered firmware, resolve that mismatch explicitly; do not silently overwrite configuration or build a different variant.
  3. Run the smallest relevant checks while iterating and ./tools/validate.sh before final delivery. This is the existing gate, not a replacement build pipeline. Custom valid partition layouts are allowed. On a requested build-only check, ./tools/validate.sh --firmware is available; identify any omitted host tests in the report.
  4. A failed run does not validate an old file still present under build/. Correct in-scope failures or report the blocker. Never deliver a stale artifact as the result of the failed build.

Identify the exact deliverable

The gate preserves build/FoloToy-AI-Passport-full.bin and a content-addressed bundle under build/firmware/<full-bin-sha256>/. Verify the bundle before handoff with:

python3 tools/archive_firmware.py verify <archive-directory>

Report the actual archive path, full-image hash, and matching ELF identity from manifest.json. The archive retains ELF, MAP, merged, application, bootloader, and partition-table images, and flash_args. Extra custom partition images are not retained separately; obtain them if needed for segmented flashing. A repeat archive of identical firmware reuses its first verified MAP as documented in the build guide. Do not substitute an ELF from a later rebuild, especially for a dirty checkout. The recorded hashes bind artifacts together; they are not a claim of hardware acceptance or cryptographic trust in a vendor.

Read the full file on GitHub · 69 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 69 lines · 43 tokens per session scan A 58663d26d30f

Subscribe to this mod's changes

passport-build is a skill published in the GitHub repository FoloToy/ai-passport (646 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 765 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-09-17.