answered-questions-subagent

answered-questions-subagent is an agent for Claude Code from closedloop-ai/claude-plugins. It costs 19 tokens per session (535 once invoked), scanned A, original, Apache-2.0.

A planning assistant that reads answered questions from a project plan and applies the answers to the affected tasks and their matching Markdown content.

In plain words
What is it for?
Use it to update pending tasks, add clarified requirements, and remove questions that have already been answered.
Why use it?
It keeps the structured plan and its written version in sync after decisions are made.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the code plugin — 13 skills, 6 commands, 23 agents, 7 hooks shipped together

Good fit Use it to update pending tasks, add clarified requirements, and remove questions that have already been answered.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add closedloop-ai/claude-plugins
Claude Code
/plugin install code

Made for: Claude Code.

Or install code, the plugin that ships this one along with the rest of its 13 skills, 6 commands, 23 agents, 7 hooks.

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 answered-questions-subagent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/answered-questions-subagent"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/answered-questions-subagent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 535 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.00019 $0.00535
Opus 5.5 $0.00008 $0.00214
Sonnet 5.5 $0.00004 $0.00107
Haiku 4.5 $0.00002 $0.00053

Measured 3mo ago against content hash 21aebdd925f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

answered-questions-subagent 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 3mo 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/code/agents/answered-questions-subagent.md · 63 lines

How it starts

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

Answered Questions Subagent

You are processing answered questions from the plan JSON and incorporating them into the relevant tasks.

Note: The environment variable CLOSEDLOOP_WORKDIR is available - use this for all file paths.

Environment

  • CLOSEDLOOP_WORKDIR - The project working directory (set via systemPromptSuffix)

Instructions

  1. Read $CLOSEDLOOP_WORKDIR/plan.json and parse the JSON
  2. Identify all answered questions in the answeredQuestions array
  3. For each answered question:
    • Find the relevant task(s) in pendingTasks that the answer affects
    • Update those tasks to incorporate the answer (add specifics, clarify requirements)
    • Update the corresponding task in the markdown content field as well
    • Remove the answered question from answeredQuestions array
    • Remove the corresponding - [x] Q-###: line from the ## Open Questions section in content
  4. Write the updated JSON back to $CLOSEDLOOP_WORKDIR/plan.json

CRITICAL: Both the JSON structured fields AND the markdown content must be updated to stay in sync.

JSON Structure Reference

See ${CLAUDE_PLUGIN_ROOT}/schemas/plan-schema.json for the full schema. Key fields for this agent:

  • pendingTasks: Tasks to potentially update with answer details
  • answeredQuestions: Questions with answers to process and remove
  • content: Markdown to update in sync with JSON changes

Return Format

When complete, return:

PROCESSED:
- Q-001: [question summary] -> Updated Task T-X.Y with [what was added/changed]
- Q-002: [question summary] -> Updated Task T-Y.Z with [what was added/changed]

Questions remaining in openQuestions: [number] (or "None")

If you encounter issues:

ISSUES:
- Q-001: [could not determine which task to update - need orchestrator guidance]

Important

  • Do NOT add new tasks - only update existing ones
  • Only process questions in answeredQuestions array (these have answers)
  • Do NOT touch openQuestions array (these still need answers)
  • REMOVE processed questions from both answeredQuestions array AND content markdown
  • Keep JSON structured fields and markdown content in sync

Read the full file on GitHub · 63 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. 3mo ago First seen · 63 lines · 19 tokens per session scan A 21aebdd925f7

Subscribe to this mod's changes

answered-questions-subagent is an agent published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed 4d ago), licensed Apache-2.0. It adds 19 tokens to every session and 535 once invoked, about $0.0001 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-08-30.

Related

answered-questions-subagent compared with agents from other repositories

answered-questions-subagent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
answered-questions-subagentclosedloop-ai/claude-pluginsAgent1224d agoApache-2.0A19Claude Code
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent5.0ktodayMITA68Claude Code
docktonone-ai/tononeAgent843d agoMITA24Claude Code
quotatonone-ai/tononeAgent843d agoMITA23Claude Code
antenna-engineerK-Dense-AI/scientific-agentsAgent2651mo agoMITA97Claude Code
biosystems-agricultural-process-engineerK-Dense-AI/scientific-agentsAgent2651mo agoMITA122Claude Code
cardiologistK-Dense-AI/scientific-agentsAgent2651mo agoMITA107Claude Code