profile

profile is a skill for Claude Code, Codex from samibs/skillfoundry. It costs 7 tokens per session (2,776 once invoked), scanned A, original, MIT.

A session profile manager for loading, comparing, creating, validating, and resetting settings that control how coding agents run. Profiles can affect token budgets and execution modes.

In plain words
What is it for?
Use it to switch execution profiles, compare their settings, create custom profiles, and check profiles for schema errors.
Why use it?
It helps prevent agents from running with unsuitable or unsafe settings. It also makes active configuration easier to inspect and change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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

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 profile

README.md
[![agentmods](https://agentmods.dev/badge/skills/samibs/skillfoundry/profile.svg)](https://agentmods.dev/skills/samibs/skillfoundry/profile)
Your own site
<a href="https://agentmods.dev/skills/samibs/skillfoundry/profile"><img src="https://agentmods.dev/badge/skills/samibs/skillfoundry/profile.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,776 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.1 $0.00007 $0.02776
Opus 5 $0.00003 $0.01388
Sonnet 5 $0.00001 $0.00555
Haiku 4.5 $0.00001 $0.00278

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

Security

Grade A, and why

profile 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 2d 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.

.agents/skills/profile/SKILL.md · 348 lines

How it starts

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

/profile - Session Profile Manager

Load, list, diff, or create execution profiles that control how agents behave, how tokens are budgeted, and which execution mode is active.

Persona: See agents/agent-profile.md for learning profile protocol. Reflection Protocol: See agents/_reflection-protocol.md for reflection requirements.


Usage

/profile                     Show current active profile
/profile list                List all available profiles with summaries
/profile load <name>         Load and apply a profile
/profile show <name>         Show profile details without loading
/profile create <name>       Create a new custom profile interactively
/profile diff <a> <b>        Compare two profiles side by side
/profile validate            Validate all profiles for schema compliance
/profile reset               Reset to default profile

Instructions

You are the Session Profile Manager. Profiles control how /go, /forge, /ship, and all other commands behave. A misconfigured profile leads to wasted tokens, skipped gates, or unsafe autonomous execution. Your job is to ensure profiles are valid, applied correctly, and visible to the developer.


PHASE 1: PROFILE SELECTION

1.1 Locate Profiles

Scan for all profile files:

LOCATION: .claude/profiles/*.json

Expected built-in profiles:
├── default.json        # Balanced: semi-auto + parallel
├── blitz.json          # Speed: semi-auto + parallel + TDD
├── cautious.json       # Oversight: manual + no parallel + verbose
└── autonomous.json     # Full auto: autonomous + parallel + auto-commit

1.2 Validate Selection

When load <name> is invoked:

  1. Check .claude/profiles/<name>.json exists
  2. Parse JSON — reject if malformed
  3. Validate against profile schema (see below)
  4. Report any missing required fields
  5. If valid, proceed to PHASE 2

1.3 Profile Schema (Required Fields)

Every profile MUST contain these fields:

{
  "name": "string (required) — unique profile identifier",
  "description": "string (required) — human-readable purpose",
  "mode": "string (required) — supervised|semi-auto|autonomous|manual",
  "parallel": "boolean (required) — enable parallel story execution",
  "tdd": "boolean (required) — enforce TDD mode for /coder",
  "security_audit": "boolean (required) — run security audit per story",
  "layer_check": "boolean (required) — run layer-check validation",
  "memory_harvest": "boolean (required) — harvest knowledge after execution",
  "auto_commit": "boolean (required) — auto-commit after each story",
  "verbose": "boolean (required) — verbose output logging",
  "token_budget": {
    "max_per_story": "number (optional) — max tokens per story, default 50000",
    "max_per_session": "number (optional) — max tokens per session, default 500000",
    "warn_threshold": "number (optional) — warn at this percentage, default 80"
  },
  "agent_preferences": {
    "anvil_tiers": "string (optional) — 't1,t2,t3,t4,t5,t6' or subset",
    "retry_limit": "number (optional) — max retry attempts, default 3",
    "escalation_mode": "string (optional) — immediate|batch|silent"
  }
}

Read the full file on GitHub · 348 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. 2d ago First seen · 348 lines · 7 tokens per session scan A 40776c2f1e53

Subscribe to this mod's changes

profile is a skill published in the GitHub repository samibs/skillfoundry (12 stars, last pushed today), licensed MIT. It adds 7 tokens to every session and 2,776 once invoked, about $0.0000 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-09-03.

Related

Other skills, from other repositories

forge-quench

Systematically reduce .NET/C# code complexity while preserving exact behavior — measure, understand, propose, prove, report. Use after a feature is complete and tests pass, when code works but is harder to maintain than it should be.

srnichols/plan-forge · 51 tokens

onboarding

Walk a new developer through .NET project setup, architecture, key files, and first task. Use when someone new joins the team or needs to understand the codebase.

srnichols/plan-forge · 37 tokens

test-sweep

Run all test suites (unit, integration, API, E2E) and aggregate results into a summary report. Use after completing execution slices or before the Review Gate.

srnichols/plan-forge · 38 tokens

ring:generating-release-guides

Generating an internal Operations-facing update/migration guide from the git diff between two refs, documenting per-change client impact, deploy ordering, monitoring, and rollback notes in English, pt-br, or both. Use when preparing a version release or recording what changed for the Ops team. Runs read-only by…

LerianStudio/ring · 85 tokens

clean-code-review

Run a comprehensive Clean Code audit against the codebase — module size, function complexity, long parameter lists, TODO/FIXME markers, commented-out code, duplication (DRY), Boy Scout delta, dead exports, test smells, shell-parity (PS/Bash twins), dep boundaries (cross-package imports), frozen-arrays drift…

srnichols/plan-forge · 92 tokens

code-review

Plan-Forge-tuned comprehensive code review — runs public-surface diff, forge analysis, architecture / security / testing / patterns checks, plus Plan-Forge-specific gates (ACI compliance, dual-shell parity, branch model). Use before merging features or at the end of a phase. With --quorum, dispatches multi-model…

srnichols/plan-forge · 70 tokens