public

A self-describing guide for agent-exec, an HTTP service that lets AI agents inspect machine permissions and run approved commands. It points to the documents for checking access rules and executing commands.

In plain words
What is it for?
Use it to discover the service, inspect allowed and denied commands, and find the documentation for authenticated execution.
Why use it?
It gives an agent a starting point for understanding what the service supports before making protected requests.

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

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,368 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.01368
Opus 5 $0.00000 $0.00684
Sonnet 5 $0.00000 $0.00274
Haiku 4.5 $0.00000 $0.00137

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

Security

Grade A, and why

public scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://<host>/api/acl \
public/SKILL.md · 256 lines

How it starts

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

SKILL: agent-exec

Endpoint: GET /

Description: Self-describing HTTP execution surface for AI agents

What is this?

agent-exec lets an AI agent discover this machine, inspect what is allowed, and execute only permitted commands through HTTP.

This is the root guide for this running agent-exec server.

Root surface

The root surface points agents to the API documents used for discovery.

{
  "method": "GET",
  "url": "/",
  "document": "/SKILL.s.js",
  "refs": [
    "/api/acl/SKILL.s.js",
    "/api/exec/SKILL.s.js"
  ]
}

Start

1. Inspect allowed operations

Protected API calls require API_KEY.

Use /api/acl to inspect allowed and denied commands.

curl -s http://<host>/api/acl \
  -H "X-API-Key: <API_KEY>"

ACL request:

{
  "method": "GET",
  "url": "/api/acl",
  "document": "/api/acl/SKILL.s.js",
  "request": {
    "headers": {
      "X-API-Key": "API_KEY",
      "Accept": "text/sjs"
    }
  },
  "refs": [
    "/api/exec/SKILL.s.js"
  ]
}

Allowed command values:

["<command> [<arg>]...", "..."]

Allowed command item kind:

"argv_string"

Allowed command item syntax:

"<command> [<arg>]..."

Allowed command item to exec args:

["<command>", "<arg>", "..."]

Denied pattern values:

["<denied pattern>", "..."]

2. Discover plugins

curl -s http://<host>/api/plugins \
  -H "X-API-Key: <API_KEY>"

The skill URL in the response is the next document to read.

3. Execute an allowed command

curl -X POST http://<host>/api/exec \
  -H "X-API-Key: <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"args": ["aexec", "--version"]}'

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

Subscribe to this mod's changes

public is a skill published in the GitHub repository to-agent/agent-exec (1 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,368 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories