cl-policy

cl-policy is a skill for Claude Code, Codex from closedloop-ai/claude-plugins. It costs 81 tokens per session (1,808 once invoked), scanned A, original, Apache-2.0.

A shared policy for local automation that uses ClosedLoop, a work-tracking system. It explains how to find the right connection, choose a safe fallback, and route messages to the appropriate contacts.

In plain words
What is it for?
Use it when other ClosedLoop skills need to discover tools, access tickets, apply communication rules, or fall back between supported connection methods.
Why use it?
It prevents separate automation tools from using different access rules or hard-coded connection names. It also provides a consistent response when the service cannot be reached.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Codex.

Part of the vibe plugin — 10 skills, 16 agents shipped together

Good fit Use it when other ClosedLoop skills need to discover tools, access tickets, apply communication rules, or fall back between supported connection methods.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/closedloop-ai/claude-plugins/cl-policy
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 closedloop-ai/claude-plugins --skill cl-policy
Clone the repo
git clone --depth 1 https://github.com/closedloop-ai/claude-plugins

Made for: Claude Code, Codex.

Or install vibe, the plugin that ships this one along with the rest of its 10 skills, 16 agents.

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 cl-policy

README.md
[![agentmods](https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/cl-policy/github.svg)](https://agentmods.dev/skills/closedloop-ai/claude-plugins/cl-policy)
Your own site
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/cl-policy"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/cl-policy/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 cl-policy

Your own site · 80×15
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/cl-policy"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/cl-policy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,808 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00081 $0.01808
Opus 5.5 $0.00032 $0.00723
Sonnet 5.5 $0.00016 $0.00362
Haiku 4.5 $0.00008 $0.00181

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

Security

Grade A, and why

cl-policy 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.

plugins/vibe/skills/cl-policy/SKILL.md · 135 lines

How it starts

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

CL Policy

Purpose

Provide the shared local access and routing policy for ClosedLoop ticket automation. This skill keeps team-specific names, communication rules, and tool-access fallbacks out of the execution skills, while allowing the skill pack to be shared with either a populated bundled policy or a local machine override.

ClosedLoop Tool Access

When ClosedLoop tools are absent from the initial tool list, do not conclude that ClosedLoop or its MCP server is unavailable.

  1. Use dynamic tool discovery or tool_search first when the current host explicitly supports dynamic calls. Search by capability, such as ClosedLoop get document, list document comments, document versions, or document relationships. Codex CLI's TUI does not currently execute dynamic tool calls: in that surface, use statically exposed MCP tools or the CLI/API fallback below and never emit a dynamic tool call merely because a skill says to discover by capability.
  2. Do not hardcode an MCP prefix such as mcp__closedloop. The prefix depends on the user's configured MCP server name and may legitimately differ.
  3. If dynamic discovery is unavailable or cannot see the configured server, try the user's Codex CLI MCP configuration before declaring an access blocker.
  4. If MCP access is still unavailable and CLOSEDLOOP_API_KEY is present, use the production ClosedLoop API directly. Load the key silently from the current environment or the user's shell profile; never print, echo, log, serialize, or include it in command output, memory, prompts, or reports.
  5. Prefer read-only API requests during analysis. Resolve endpoint and payload contracts from current repository routes or official current documentation instead of guessing. A ticket slug can be read through GET https://api.closedloop.ai/documents/<slug> in the current platform.
  6. Treat an inactive localhost MCP URL, a missing initial registration, or a stale read-only intelligence index as an access-path issue, not proof of a ClosedLoop outage. Continue through the next valid fallback and state which source established live state.
  7. Report a genuine access blocker only after applicable discovery, Codex CLI MCP, and authenticated API paths have been exhausted or are unavailable.
  8. For ticket intelligence, discover the read-only closedloop-graph MCP by capability rather than by configured server name, using only discovery mechanisms supported by the current host. Treat it as the preferred indexed discovery surface for bounded PRD/plan/ split lineage, dependencies, semantic matches, duplicates, related tickets, and PR overlap, and for codebase intelligence including symbols, files, ownership boundaries, dependencies, call/data paths, co-change history, tests, and blast radius. Its results are not live authority: re-fetch material documents, relationships, comments, and status from ClosedLoop and verify code/PR claims against current repository and GitHub state.

Read the full file on GitHub · 135 lines

Files

What ships with it

3 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. 4d ago First seen · 135 lines · 81 tokens per session scan A d79d3670d920

Subscribe to this mod's changes

cl-policy is a skill published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 81 tokens to every session and 1,808 once invoked, about $0.0003 per session on Opus 5.5. 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-10-06.

Related

Other skills, from other repositories

file-a-task

File work into nohuman (taskadd) and check on it (taskstatus) via the nohuman MCP bridge, instead of doing the work inline.

no-human-ai/no_human · 37 tokens

fleet

The session roster (/foundry:fleet) — native /list-agents annotated with each row's foundry programme, over the NATIVE session/container list. Read-only/advisory. Trigger to see all your parallel sessions and containers at a glance with their foundry context, or when supervising many sessions and asking "what is each…

lukasrepublic/agentic-foundry · 73 tokens

parallel-feature-development

Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system…

wshobson/agents · 105 tokens

bazel-build-optimization

Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.

wshobson/agents · 36 tokens

company-ceo

Run a PenguinHarness organization as its CEO — turn the mission into a ticket tree, hire HR and finance first, partition the shared workspace, schedule the calendar, open a channel per stream, review tickets and report to the board in the all-hands channel.

Prism-Shadow/penguin-harness · 56 tokens

sdlc-accelerate

End-to-end SDLC ramp-up from idea to construction-ready with automated phase transitions.

jmagly/aiwg · 23 tokens