agent-capabilities

agent-capabilities is a skill for Claude Code, Codex from hachej/boring-ui. It costs 136 tokens per session (2,193 once invoked), scanned B, original, MIT.

A guide for giving an in-app AI agent tools and controlled access to files, approvals, questions, helper agents, schedules and sandboxes.

In plain words
What is it for?
Use it to add custom tools, file operations, approval steps, user questions, delegated agents or scheduled work to a Boring UI agent.
Why use it?
It helps define what the agent can do and where a person must approve or answer before it proceeds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to add custom tools, file operations, approval steps, user questions, delegated agents or scheduled work to a Boring UI agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hachej/boring-ui/agent-capabilities
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 hachej/boring-ui --skill agent-capabilities
Clone the repo
git clone --depth 1 https://github.com/hachej/boring-ui

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 agent-capabilities

README.md
[![agentmods](https://agentmods.dev/badge/skills/hachej/boring-ui/agent-capabilities/github.svg)](https://agentmods.dev/skills/hachej/boring-ui/agent-capabilities)
Your own site
<a href="https://agentmods.dev/skills/hachej/boring-ui/agent-capabilities"><img src="https://agentmods.dev/badge/skills/hachej/boring-ui/agent-capabilities/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 agent-capabilities

Your own site · 80×15
<a href="https://agentmods.dev/skills/hachej/boring-ui/agent-capabilities"><img src="https://agentmods.dev/badge/skills/hachej/boring-ui/agent-capabilities.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,193 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00136 $0.02193
Opus 5.5 $0.00054 $0.00877
Sonnet 5.5 $0.00027 $0.00439
Haiku 4.5 $0.00014 $0.00219

Measured 9d ago against content hash 7162710c8958, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

agent-capabilities scanned grade B 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 9d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- **With `selfEvolving: true`, gating `bash` is bypassable.** Agent-written tools in `.agent/tools/*.json` run their `run` command through the conversation's `ExecutionEnv.exec`, not through the `bash` tool, so a `bash`
skills/agent-capabilities/SKILL.md · 139 lines

How it starts

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

Agent capabilities

Every capability is a native Pi tool or extension that you hand to defineAgent (from @hachej/boring-agent/agents). The host decides what the agent may do. Start from the server in the build-agent-app skill.

const agent = defineAgent({
  id: 'writer', model: { provider: 'openai', modelId: 'gpt-5-mini' }, instructions: '...',
  tools: [/* tool registrations */],
  extensions: [/* native extensions, in order */],
  delegates: [/* sub-agents */],
});
agent.install(registry);   // before Harness.open

Custom tools

Use Pi's defineTool and Type. Return text in output.

import { defineTool } from '@earendil-works/pi-durable';
import { Type } from '@earendil-works/pi-ai';

const lookupOrder = defineTool({
  name: 'lookup_order', description: 'Look up a fictional order by its number.',
  parameters: Type.Object({ number: Type.String() }, { additionalProperties: false }),
  execute: async ({ number }) => ({ output: [{ type: 'text', text: JSON.stringify(await orders.get(number)) }] }),
});

The host's execute owns the data access, credentials and limits. For a tool described by a raw JSON Schema (an MCP inputSchema), use jsonSchemaTool({ name, description, parameters, execute }) from /agents.

Files

  • Give the agent Pi's own createReadTool(), createWriteTool(), createEditTool() (and createBashTool() with a shell) from @earendil-works/pi-durable/tools, in one defineExtension.
  • Add createFileGuard({ workspace: { files, root, access } }) from /file-guard after that extension. It routes read/write/edit through the workspace provider, refuses writes to files the conversation has not read at their current revision, and records agent edits in file history.
  • Add createPresentTool({ workspace }) from /artifacts so the agent can open a file in the page.
  • Use the same files provider everywhere (guard, present, revision route). Never a second copy.
  • Several people, one agent: resolve the workspace per call with @hachej/boring-agent/workspaces (Workspace per call).

Read the full file on GitHub · 139 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. 9d ago First seen · 139 lines · 136 tokens per session scan B 7162710c8958

Subscribe to this mod's changes

agent-capabilities is a skill published in the GitHub repository hachej/boring-ui (49 stars, last pushed today), licensed MIT. It adds 136 tokens to every session and 2,193 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-23.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens