agentfolio-operator

agentfolio-operator is a skill for Claude Code, Codex from luabagg/agent-skills. It costs 33 tokens per session (649 once invoked), scanned A, original, MIT.

A command-line operator for Agentfolio, a collection manager for coding-agent skills and configuration. It can inspect available harnesses, preview changes, and apply selected profiles.

In plain words
What is it for?
Use it to run health checks, list harnesses, preview plans, and apply profiles for Pi, Cursor, OpenCode, or combined setups.
Why use it?
It helps you see what configuration will change before applying it and keeps setup actions tied to the collection's declared configuration.

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/luabagg/agent-skills/agentfolio-operator
Any agent
npx skills add luabagg/agent-skills --skill agentfolio-operator
Clone the repo
git clone --depth 1 https://github.com/luabagg/agent-skills

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 agentfolio-operator

README.md
[![agentmods](https://agentmods.dev/badge/skills/luabagg/agent-skills/agentfolio-operator.svg)](https://agentmods.dev/skills/luabagg/agent-skills/agentfolio-operator)
Your own site
<a href="https://agentmods.dev/skills/luabagg/agent-skills/agentfolio-operator"><img src="https://agentmods.dev/badge/skills/luabagg/agent-skills/agentfolio-operator.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 649 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.00033 $0.00649
Opus 5 $0.00016 $0.00324
Sonnet 5 $0.00007 $0.00130
Haiku 4.5 $0.00003 $0.00065

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

Security

Grade A, and why

agentfolio-operator 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 3d 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/agentfolio-operator/SKILL.md · 68 lines

How it starts

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

Agentfolio Operator

Agentfolio orchestrates collection.yaml; this repository's adapter owns harness behavior. Never hand-edit live harness configuration when a declared action exists.

Start with the collection

Run these commands from the collection checkout (or set AGENTFOLIO_COLLECTION):

agentfolio doctor --collection .
agentfolio list harnesses --collection .
agentfolio plan --collection .

Agentfolio also discovers the nearest collection.yaml or uses AGENTFOLIO_COLLECTION.

Profiles

Intent Profile
Personal + curated skills and global instructions default
Personal skills only skills
Personal skills plus Pi configuration pi
Committed Pi model lock, Scope, and providers only pi-catalog
Personal skills plus Cursor agents cursor
Personal skills plus OpenCode plugins and agents opencode
Personal skills plus global, Pi, Cursor, and OpenCode all

Preview before applying:

agentfolio plan --profile pi
agentfolio apply --profile pi --dry-run
agentfolio apply --profile pi-catalog --dry-run
agentfolio apply --profile pi

Collection-owned model commands

Model discovery and generated catalog files are implemented by agent-skills, not Agentfolio core:

agent-skills models check
agent-skills models diff
agent-skills models refresh

Edit harnesses/catalog.yaml; generated lock/provider targets are outputs. Run models check, preview with models diff, and use models refresh only when the policy and discovery results are ready to commit. Apply Pi changes through agentfolio apply --profile pi --dry-run.

Decision rules

  • Change workflow intent in collection.yaml; change execution semantics in scripts/agentfolio-adapter.mjs or the relevant setup script.
  • Use agentfolio list harnesses, plan, doctor, and verify for inspection.
  • Treat direct agent-skills setup|install commands as adapter implementations or debugging surfaces.
  • Keep credentials outside the collection. Never copy OAuth tokens, API keys, or login state.
  • Dry-run first unless the user explicitly requests an immediate apply.
  • Stop on the first failed action and preserve unmanaged user configuration.
  • Restart a harness when its extensions or providers changed.

Read the full file on GitHub · 68 lines

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. 3d ago First seen · 68 lines · 33 tokens per session scan A 347c01598713

Subscribe to this mod's changes

agentfolio-operator is a skill published in the GitHub repository luabagg/agent-skills (2 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 649 once invoked, about $0.0002 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.