public

public is a skill for Claude Code, Codex from to-agent/agent-exec. It costs 0 tokens per session (1,368 once invoked), scanned A, original, Apache-2.0.

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

Written for no agent in particular: nothing here depends on one.

Good fit Use it to discover the service, inspect allowed and denied commands, and find the documentation for authenticated execution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/to-agent/agent-exec/public
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.

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.

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 public

README.md
[![agentmods](https://agentmods.dev/badge/skills/to-agent/agent-exec/public/github.svg)](https://agentmods.dev/skills/to-agent/agent-exec/public)
Your own site
<a href="https://agentmods.dev/skills/to-agent/agent-exec/public"><img src="https://agentmods.dev/badge/skills/to-agent/agent-exec/public/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for public

Your own site · 80×15
<a href="https://agentmods.dev/skills/to-agent/agent-exec/public"><img src="https://agentmods.dev/badge/skills/to-agent/agent-exec/public.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.01368
Opus 5.5 $0.00000 $0.00547
Sonnet 5.5 $0.00000 $0.00274
Haiku 4.5 $0.00000 $0.00137

Measured 1mo ago against content hash 8a84874d2109, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

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. 1mo ago 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 5mo 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