file-manifest

file-manifest is a skill for Claude Code, Codex from babarot/gh-infra. It costs 58 tokens per session (764 once invoked), scanned A, original, MIT.

A reference for YAML manifests that describe files to manage across one or more GitHub repositories. It covers file content, templates, patches, and how updates are delivered.

In plain words
What is it for?
Use it to manage files such as CODEOWNERS, licenses, and GitHub Actions workflows. It helps configure copying, templating, patching, and updating those files.
Why use it?
It removes the need to remember the manifest structure and rules for keeping shared files consistent. It also helps avoid invalid or incomplete file definitions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to manage files such as CODEOWNERS, licenses, and GitHub Actions workflows. It helps configure copying, templating, patching, and updating those files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/babarot/gh-infra/file-manifest
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 babarot/gh-infra --skill file-manifest
Clone the repo
git clone --depth 1 https://github.com/babarot/gh-infra

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 file-manifest

README.md
[![agentmods](https://agentmods.dev/badge/skills/babarot/gh-infra/file-manifest/github.svg)](https://agentmods.dev/skills/babarot/gh-infra/file-manifest)
Your own site
<a href="https://agentmods.dev/skills/babarot/gh-infra/file-manifest"><img src="https://agentmods.dev/badge/skills/babarot/gh-infra/file-manifest/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 file-manifest

Your own site · 80×15
<a href="https://agentmods.dev/skills/babarot/gh-infra/file-manifest"><img src="https://agentmods.dev/badge/skills/babarot/gh-infra/file-manifest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 764 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.00058 $0.00764
Opus 5 $0.00029 $0.00382
Sonnet 5 $0.00012 $0.00153
Haiku 4.5 $0.00006 $0.00076

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

Security

Grade A, and why

file-manifest 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.

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/file-manifest/SKILL.md · 110 lines

How it starts

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

File Manifest Reference

Use this skill for file-distribution manifests. Keep the main body small and open references only when the request needs them.

Core Rules

  • File is parsed as a one-repo FileSet internally, but you still author the simpler shape
  • Each file entry requires path and exactly one of content or source
  • via defaults to push
  • reconcile defaults to additive
  • patches are applied after template expansion

File

apiVersion: gh-infra/v1
kind: File
metadata:
  owner: my-org
  name: my-repo
spec:
  files:
    - path: .github/CODEOWNERS
      content: |
        * @username
    - path: LICENSE
      source: ./templates/LICENSE
  via: push
  commit_message: "ci: sync managed files"

Key fields:

  • files: required
  • via: push or pull_request
  • commit_message, branch, pr_title, pr_body: delivery controls
  • files[].vars: template variables
  • files[].patches: unified diff patches
  • files[].reconcile: additive, authoritative, create_only

Read these references as needed:

FileSet

Use FileSet to distribute shared files to many repositories.

apiVersion: gh-infra/v1
kind: FileSet
metadata:
  owner: my-org            # no "name" field

spec:
  repositories:
    - gomi                # simple string
    - enhancd
    - name: gh-infra      # struct with overrides
      overrides:
        - path: .github/CODEOWNERS
          content: |
            * @username @co-maintainer

  files:
    - path: .github/CODEOWNERS
      content: |
        * @username

    - path: LICENSE
      source: ./templates/LICENSE

  via: push

Read the full file on GitHub · 110 lines

Files

What ships with it

4 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 · 110 lines · 58 tokens per session scan A e98af0f43c3b

Subscribe to this mod's changes

file-manifest is a skill published in the GitHub repository babarot/gh-infra (134 stars, last pushed 3mo ago), licensed MIT. It adds 58 tokens to every session and 764 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

gh-attach

Uploads a local file (screenshot, image, PDF, zip, video) to GitHub user-attachments, downloads GitHub user-attachments, and embeds local files in a PR, issue, or comment. Use when asked to "attach a screenshot to the PR", "add an image to the issue", "embed before/after screenshots", "attach this file", or "download…

sudosubin/gh-attach · 94 tokens

pkup-enchant

Enrich an existing PKUP report directory — group commits into tasks, filter out non-creative groups, and write Polish descriptions. Use when the user has already generated a PKUP report and wants to clean it up or add "Zaprojektowałem..." descriptions.

pPrecel/pkup-gen · 59 tokens

gh-stack

Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack. Use for stack creation, viewing, edits, push, submit, sync, rebase, merge, or checkout; when asked to split or isolate work for review; whenever a user mentions a stack, branch layers, dependent PRs, or gh stack; or when a stack is…

github/gh-stack · 80 tokens

github-operations

GitHub CLI operations for issues, PRs, milestones, and Projects v2. Covers gh commands, REST API patterns, and automation scripts. Use when managing GitHub issues, PRs, milestones, or Projects with gh.

yonatangross/orchestkit · 50 tokens

vhs-e2e-gif

Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…

dimetron/pi-go · 106 tokens

check-linters-before-commit

Before any commit, run linters, vet, tests, and build verification; do not commit until checks pass.

dimetron/pi-go · 30 tokens