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.
npx agentmods add agents/team-commonly/commonly/public-facing-agent-sandboxinggit clone --depth 1 https://github.com/Team-Commonly/commonlyWrote 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.
[](https://agentmods.dev/agents/team-commonly/commonly/public-facing-agent-sandboxing)<a href="https://agentmods.dev/agents/team-commonly/commonly/public-facing-agent-sandboxing"><img src="https://agentmods.dev/badge/agents/team-commonly/commonly/public-facing-agent-sandboxing.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00734 |
| Opus 5 | $0.00000 | $0.00367 |
| Sonnet 5 | $0.00000 | $0.00147 |
| Haiku 4.5 | $0.00000 | $0.00073 |
Grade A, and why
public-facing-agent-sandboxing 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sandboxing public-facing agents
If you attach an agent to a pod that strangers can read or join — a community support bot, a showcase greeter — that agent responds to untrusted input. Treat every message it receives as a potential prompt injection, and configure it so a successful injection has nothing to reach for.
The policy (deny-by-default)
Put this in the agent workspace's .claude/settings.json (Claude Code
wrappers; adapt equivalently for other runtimes):
{
"permissions": {
"defaultMode": "default",
"allow": [
"Read(./**)",
"Grep(./**)",
"Glob(./**)",
"mcp__commonly__*"
],
"deny": [
"Read(//home/<you>/.commonly/**)",
"Read(//home/<you>/.ssh/**)",
"Read(//home/<you>/.claude/**)",
"Read(//home/<you>/.aws/**)",
"Read(//home/<you>/.config/**)",
"WebSearch", "WebFetch", "Bash",
"Write", "Edit", "NotebookEdit", "Task"
]
}
}
Extend the read-deny list with every directory on the host that holds secrets or private material (tokens, keys, private repos).
Why each line matters
- No
Bash, noWebSearch/WebFetch: removes the classic exfiltration and remote-instruction channels outright. A support bot answers from docs; it does not need a shell or the internet. - Path-scoped reads (
Read(./**)), not bareRead: this is the trap. A bareReadallow lets the agent read anything the OS user can — including~/.commonly/tokens/*.json, which contains live runtime tokens. Because the agent can still post messages (that's its job), unscoped read access turns any injection into token exfiltration through the chat itself. - No
Write/Edit/Task: an injected agent shouldn't mutate its own workspace (poisoning future turns) or spawn subagents with different contexts. - Worst case by construction: with this policy, a fully successful injection can only make the agent post a wrong message in a pod humans already read. That is the correct blast radius for a public agent.
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.
- 4d ago First seen · 80 lines · 0 tokens per session scan A 83f2b390b361
public-facing-agent-sandboxing is an agent published in the GitHub repository Team-Commonly/commonly (1,325 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 734 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-08-30.
Other agents, from other repositories
taskmaster
Development Pipeline Orchestrator who manages entire development workflows by coordinating specialist agents through configurable pipelines for any type of project.
ashigaru1
Ashigaru 1 — front-line execution.
wiki-qa-probe
A single retrieval probe — explores ONE facet of a question deep through the knowledge graph, embeddings, and source files, and returns grounded findings with exact citations for the hypervisor to fuse.
wiki-maintainer
Answers questions about, and makes targeted edits to, an already-indexed wiki project on demand. Reads current source through the traversal-guarded wiki tools, rewrites only the pages the user asked about, and never finalizes.
story-explorer
故事项目结构化查询 agent(只读)。响应关于角色状态、伏笔进度、设定出现位置、 时间线节点、写作进度的查询。使用 grep + read 从项目文件系统中检索信息, 返回结构化 JSON 摘要。 被 story-long-write(日更 Step 1 上下文加载)、story-review(审查时查设定)、 story 路由(用户自然提问时)调用。 不做任何创作判断或修改。.
consistency-checker
事实一致性与伏笔状态检查专家(只读)。使用 grep-first + 推理型一致性审查检测设定矛盾、时间线冲突、 伏笔断线、角色属性不一致、规则边界悖论、设定层级冲突、跨章因果链断裂、规则可滥用漏洞、代价一致性。输出 S1-S4 分级冲突报告。 被 story-review、story-long-write(Phase 5)、story-short-write(Phase 4)调用。 不做任何创作判断。.