apd-toggle

apd-toggle is a skill for Claude Code from zstevovich/claude-apd. It costs 127 tokens per session (1,094 once invoked), scanned B, original, MIT.

A switch for turning the claude-apd plugin’s enabled state on or off in Claude Code settings.

In plain words
What is it for?
Use it when the user explicitly wants to enable, disable, or toggle APD, subject to its safeguards for active protected pipelines.
Why use it?
It changes whether that plugin is active without requiring the user to leave the session or edit settings manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the SlashCommand tool; mentions Codex.

Part of the claude-apd plugin — 11 skills, 5 agents, 8 hooks, 1 MCP server shipped together

Good fit Use it when the user explicitly wants to enable, disable, or toggle APD, subject to its safeguards for active protected pipelines.

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

Made for: Claude Code.

Or install claude-apd, the plugin that ships this one along with the rest of its 11 skills, 5 agents, 8 hooks, 1 MCP server.

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 apd-toggle

README.md
[![agentmods](https://agentmods.dev/badge/skills/zstevovich/claude-apd/apd-toggle.svg)](https://agentmods.dev/skills/zstevovich/claude-apd/apd-toggle)
Your own site
<a href="https://agentmods.dev/skills/zstevovich/claude-apd/apd-toggle"><img src="https://agentmods.dev/badge/skills/zstevovich/claude-apd/apd-toggle.svg" alt="Measured on agentmods" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,094 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.00127 $0.01094
Opus 5 $0.00063 $0.00547
Sonnet 5 $0.00025 $0.00219
Haiku 4.5 $0.00013 $0.00109

Measured 8d ago against content hash 688fb48555d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

apd-toggle 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 8d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

description: Toggle claude-apd@zstevovich-plugins enabled state in CC settings without leaving the session. Use when the user asks to disable APD, turn it off, enable it, switch APD on/off, or hit a guard block they want
skills/apd-toggle/SKILL.md · 85 lines

How it starts

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

APD Toggle

Quick switch for the claude-apd plugin's enabledPlugins state in CC settings. CC-only — Codex has no equivalent concept.

When to use

  • User asks: "turn off APD", "iskljuci APD", "disable apd", "enable apd", "switch APD off", "ugasi APD u ovoj sesiji", "vrati APD nazad", or any phrasing requesting plugin toggle.
  • User wants to do quick non-APD work in a project that has APD enabled, without leaving the session.
  • User wants to enable APD in a project where it's currently off.
  • User asks "kako da ugasim APD" — answer with this skill, not with manual JSON edit instructions.

When NOT to use

  • To get an out-of-scope fix past a cycle cap or a gate mid-pipeline. toggle off disables the WHOLE enforcement layer, so the fix lands with no fresh adversarial pass — and it is usually a finding on exactly the paths that most need one. Since v6.29 the toggle refuses this: with APD_ACTIVE and a spec-card.md present it exits 2 with toggle-off-active-pipeline. The sanctioned routes, in order:
    • out of scope → apd pipeline spinoff-finding <id> "<reason>", then continue in scope
    • genuinely in scope, out of cycles → apd pipeline raise-cap builder|reviewer <N> "<reason>"
    • done with the run → apd pipeline reset --force "<reason>" exists as a valve for a real emergency and logs toggle-off-forced; reaching for it routinely means the run should have been reset or the finding spun off.
  • User wants to UNINSTALL the plugin entirely (use /plugin uninstall directly — different operation).
  • User is on Codex — no enabledPlugins concept exists, this skill does nothing useful there.
  • User wants to disable a different plugin (e.g. superpowers) — this skill is APD-specific.

Process

Step 1 — Parse intent

User intent → flag:

User said Flag
"turn off", "disable", "iskljuci", "ugasi" off
"turn on", "enable", "ukljuci", "vrati" on
"toggle", "flip", "switch", or unspecified (no arg — flip current state)

Read the full file on GitHub · 85 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. 8d ago First seen · 85 lines · 127 tokens per session scan B 688fb48555d1

Subscribe to this mod's changes

apd-toggle is a skill published in the GitHub repository zstevovich/claude-apd (5 stars, last pushed 1mo ago), licensed MIT. It adds 127 tokens to every session and 1,094 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). 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

systematic-debugging

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

obra/superpowers · 21 tokens

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

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

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 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

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens