file-list

file-list is a skill for Claude Code, Codex from KeyArgo/custodian-kernel. It costs 10 tokens per session (298 once invoked), scanned A, original, MIT.

A read-only tool for listing files inside a directory that the system allows it to access.

In plain words
What is it for?
Use it to inspect project folders, find input files, and check directory contents.
Why use it?
It helps an agent see what files are available before it reads or processes them. This avoids guessing file names or scanning outside the permitted location.

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/keyargo/custodian-kernel/file-list
Any agent
npx skills add KeyArgo/custodian-kernel --skill file-list
Clone the repo
git clone --depth 1 https://github.com/KeyArgo/custodian-kernel

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-list

README.md
[![agentmods](https://agentmods.dev/badge/skills/keyargo/custodian-kernel/file-list.svg)](https://agentmods.dev/skills/keyargo/custodian-kernel/file-list)
Your own site
<a href="https://agentmods.dev/skills/keyargo/custodian-kernel/file-list"><img src="https://agentmods.dev/badge/skills/keyargo/custodian-kernel/file-list.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 298 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.00010 $0.00298
Opus 5 $0.00005 $0.00149
Sonnet 5 $0.00002 $0.00060
Haiku 4.5 $0.00001 $0.00030

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

Security

Grade A, and why

file-list 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/execute.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.

custodian/bundled_skills/files/file-list/SKILL.md · 51 lines

What it actually says

File List

List files in an allowed directory path

Authority band

This tool runs under L0 authority in the Custodian kernel. Read-only; no real-world effects — always autonomous.

Inputs

Parameter Type Required Description
(see execute.py for full schema)

Configuration

No additional configuration required — uses credentials already wired to Custodian.

Usage

custodian tools run file-list --param value

Custodian governance

Every call to this tool passes through the Custodian kernel authority check before executing. The kernel verifies the current authority band, checks spending caps where applicable, logs the action to the OCSF audit trail, and escalates to a human operator if the action exceeds the declared band.

Adding this tool to any Hermes agent session requires no code changes — declare custodian-band: L0 in the SKILL.md frontmatter and the kernel wraps it automatically.

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. 4d ago First seen · 51 lines · 10 tokens per session scan A 49900d3a2394

Subscribe to this mod's changes

file-list is a skill published in the GitHub repository KeyArgo/custodian-kernel (118 stars, last pushed 12d ago), licensed MIT. It adds 10 tokens to every session and 298 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-30.

Related

Other skills, from other repositories

python-code

Make sure to ALWAYS use this skill when working with python code! Help designing, structuring, and maintaining Python projects, including virtualenvs, packaging, SQLite (sql3) usage, documentation of bug fixes, and clear commenting practices.

aisa-group/skill-inject · 51 tokens

gnt-check-action

Check a side-effectful action against this organization's approved gnt rules before taking it, and stop on a blocked or needshuman verdict.

gnt-ai/gnt · 33 tokens

dev-standards

Enforces development workflows, quality gates, coding standards, and release processes for the deterministic-agent-control-protocol project. Use when implementing features, fixing bugs, refactoring architecture, adding integrations, updating policies, writing tests, updating documentation, or preparing releases.

elliot35/deterministic-agent-control-protocol · 56 tokens

new-python-project

Bootstrap a new Python project from a proven scaffold. Use whenever the user asks to start, create, scaffold, or set up a new Python tool, library, CLI, package, service, or experiment repo — or says 'set up a project the usual way'. Do NOT hand-roll a project structure from memory when this skill is available: run…

zhengbingquant/frontier-skills · 131 tokens

bump-dependency

Bumps a Python package dependency across Home Assistant Core integrations, regenerates core requirement files, runs verification tests and prek lint, and prepares a pull request with proper release/compare links.

home-assistant/core · 42 tokens

mem0-vercel-ai-sdk

Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…

mem0ai/mem0 · 146 tokens