autonomous

autonomous is a command for Claude Code from samibs/skillfoundry. It costs 0 tokens per session (768 once invoked), scanned A, original, MIT.

A toggle for an autonomous developer loop that classifies each user request and routes it to the appropriate development workflow automatically.

In plain words
What is it for?
Use it to turn automatic routing on or off, inspect its status, and view synchronization and session statistics.
Why use it?
It removes the need to invoke a specific command for every request while keeping track of routing and session activity.

Command for Claude Code

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 commands/samibs/skillfoundry/autonomous
Clone the repo
git clone --depth 1 https://github.com/samibs/skillfoundry

Made for: Claude Code.

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 autonomous

README.md
[![agentmods](https://agentmods.dev/badge/commands/samibs/skillfoundry/autonomous.svg)](https://agentmods.dev/commands/samibs/skillfoundry/autonomous)
Your own site
<a href="https://agentmods.dev/commands/samibs/skillfoundry/autonomous"><img src="https://agentmods.dev/badge/commands/samibs/skillfoundry/autonomous.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 768 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.00000 $0.00768
Opus 5 $0.00000 $0.00384
Sonnet 5 $0.00000 $0.00154
Haiku 4.5 $0.00000 $0.00077

Measured yesterday against content hash 778426832c33, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

autonomous 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 yesterday.

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.

.claude/commands/autonomous.md · 124 lines

How it starts

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

/autonomous - Toggle Autonomous Developer Loop

Toggle autonomous mode on/off. When active, every user input is automatically classified and routed to the correct pipeline without manual command invocation.


Usage

/autonomous          Show current status
/autonomous on       Enable autonomous mode
/autonomous off      Disable autonomous mode
/autonomous status   Show detailed status with sync info

Instructions

You manage the autonomous developer loop toggle. When invoked:

/autonomous or /autonomous status

Check the current state and report:

# Check if autonomous mode is active
FLAG_FILE=".claude/.autonomous"

Display:

Autonomous Mode: [ON/OFF]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  Protocol:       agents/_autonomous-protocol.md
  Classifier:     agents/_intent-classifier.md
  Mode:           [ACTIVE — all inputs auto-routed / INACTIVE — manual commands]

  Knowledge Sync: [RUNNING (PID: XXXX) / STOPPED]
  Last Sync:      [timestamp or "never"]
  Sync Repo:      [repo URL or "not configured"]

  Session Stats:
    Inputs classified:  [N]
    Pipelines executed: [N]
    User corrections:   [N]

/autonomous on

  1. Create the flag file:

    mkdir -p .claude
    echo '{"enabled":true,"activated":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","version":"1.0"}' > .claude/.autonomous
    
  2. Verify the protocol files exist:

    • agents/_autonomous-protocol.md — routing rules
    • agents/_intent-classifier.md — classification reference
  3. Start the knowledge sync daemon if configured:

    if [ -f scripts/knowledge-sync.sh ] && [ -x scripts/knowledge-sync.sh ]; then
        bash scripts/knowledge-sync.sh start --if-not-running
    fi
    
  4. Display:

    Autonomous Mode: ON
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    
    The autonomous developer loop is now active.
    Every input will be classified and routed automatically.
    
    How it works:
      You type    → Claude classifies (FEATURE/BUG/REFACTOR/QUESTION/OPS/MEMORY)
      Claude runs → The appropriate pipeline executes fully
      You review  → Structured summary presented for approval
    
    To disable: /autonomous off
    

Read the full file on GitHub · 124 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. yesterday First seen · 124 lines · 0 tokens per session scan A 778426832c33

Subscribe to this mod's changes

autonomous is a command published in the GitHub repository samibs/skillfoundry (12 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 768 tokens. 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.