adp-governance
Skill9 starsChanged 4 months agoApache-2.0View on GitHub
Govern what Agentic Data Plane agents may do, spend, and expose, through the `rpk ai` CLI and the ADP UI at ai.redpanda.com, and look up governance features in the Redpanda docs. Use when writing or debugging a Cedar access policy with `rpk ai policy`, giving a new agent access, capping agent spend with `rpk ai budget`, analyzing cost, attaching a guardrail to a provider, containing or releasing an agent with the kill switch, storing or deleting a credential with `rpk ai secret`, minting an API key, masking MCP tool data with data policies, or setting up inbound or outbound OAuth. For signing in, agents, MCP servers, LLM providers, and the rest of the `rpk ai` CLI, see `/redpanda:adp`. For transcripts, the audit log, and traces, see `/redpanda:adp-observability`.
In this repository36 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adp-observabilitySkill
- adpSkill
- cloud-byoc-sizingSkill
- cloud-byocSkill
- cloud-dedicatedSkill
- cloud-serverlessSkill
- connect-cdc-dynamodbSkill
- connect-cdc-mongodbSkill
- connect-cdc-mysqlSkill
- connect-cdc-oracleSkill
- connect-cdc-postgresSkill
- connect-cdc-salesforceSkill
- connect-cdc-spannerSkill
- connect-cdc-sqlserverSkill
- connect-cdc-tigerbeetleSkill
- connect-debuggingSkill
- connectSkill
- redpanda-docsSkill
- rpk-cloudSkill
- rpk-clusterSkill
- rpk-debugSkill
- rpk-groupSkill
- rpk-redpandaSkill
- rpk-registrySkill
- rpk-securitySkill
- rpkSkill
- rpk-topicSkill
- rpk-transformSkill
- sql-admin-apiSkill
- sql-debuggingSkill
- sql-federated-queriesSkill
- sqlSkill
- streaming-admin-apiSkill
- streaming-debuggingSkill
- streamingSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
Look up commands, flags, Cedar actions and attributes, permissions, templates, limits, and UI steps in the Redpanda docs instead of from …
- Very specific: line 47
Follow /redpanda:redpanda-docs.
- Very specific: line 57
If the Docs MCP server refuses for quota and you can't fetch the page, tell the user to sign in through /mcp rather than answering from …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agentic Data Plane: Governance
The Agentic Data Plane (ADP) decides whether an agent's call runs (access policies, roles, the
kill switch), what it may cost (budgets), what data it exposes (guardrails, data policies), and
which credentials it uses (secrets, API keys, OAuth). Sign in and pick an environment first, as
/redpanda:adp describes. This skill keeps only the procedures below. Look up everything else in
the docs (last section).
How to work
Before you delete a secret, find what still uses it. rpk ai secret delete checks no
references, and a secret's value can't be read back, so a deleted secret can't be restored and
every resource that names it fails at its next call. Read the MCP servers, LLM providers, OAuth
providers and clients, and agents (list -o yaml) for the secret's ID first. If anything still
uses it, tell the user what, and ask before deleting.
To deny one tool on one MCP server, name the tool alone and pin the server in a when clause.
Cedar identifies a tool by its name only, so write resource == McpServerTool::"<tool>" with
when { resource in McpServer::"<server>" }. A combined ID such as
McpServerTool::"<server>/<tool>" names no tool, so it denies nothing, and leaving out the
when clause denies that tool name on every server.
To stop a misbehaving agent, contain it. Don't delete it, its credentials, or its MCP servers.
Containment (rpk ai agent-kill-switch, or Contain agent in the UI, with a reason) denies the
agent's gateway traffic, to it and from it, until someone releases it, and leaves its
configuration as it is.
Deletes can't be undone and remove what an investigation needs.
Use the docs for everything else
Look up commands, flags, Cedar actions and attributes, permissions, templates, limits, and UI steps in the Redpanda docs instead of from memory:
- Follow
/redpanda:redpanda-docs. The ADP docs are not versioned and not tied to a platform, soask_redpanda_questionneeds noversion. Useget_rpk_commandfor onerpk aicommand andlist_rpk_commandswithplugin: "ai"to find one. - Most useful pages, under https://docs.redpanda.com/agentic-data-plane/:
control/access-policies/(Cedar, templates, the action reference),control/permissions-overview/andcontrol/permissions-reference/(roles and permissions),control/budgets/,control/cost-usage/,control/guardrails/,control/kill-switch/,control/secrets/,control/tags/,connect/data-policies/,connect/oauth-providers/,connect/remote-mcp-clients/, and therpk aireference underreference/rpk/rpk-ai/.
If the Docs MCP server refuses for quota and you can't fetch the page, tell the user to sign in
through /mcp rather than answering from memory.
rpk ai <command> --help on the installed plugin is the live check for flags in that version.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

