answered-questions-subagent

answered-questions-subagent is an agent for coding agents 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

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the code plugin — 17 agents shipped together

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.

agentmods
npx agentmods add agents/closedloop-ai/claude-plugins/answered-questions-subagent
Clone the repo
git clone --depth 1 https://github.com/closedloop-ai/claude-plugins

Or install code, the plugin that ships this one along with the rest of its 17 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 answered-questions-subagent

README.md
[![agentmods](https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/answered-questions-subagent.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00019 $0.00535
Opus 5 $0.00010 $0.00267
Sonnet 5 $0.00004 $0.00107
Haiku 4.5 $0.00002 $0.00053

Measured 5d ago against content hash 21aebdd925f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (103 stars, last pushed 7d ago), licensed Apache-2.0. It adds 19 tokens to every session and 535 once invoked, about $0.0001 per session on Opus 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

Other agents, from other repositories

docs-searcher

Search local Fern documentation for content related to a topic. Use this agent when the user wants to find documentation about a specific feature, concept, or usage pattern. Proactively use this when answering questions that might be covered in the project documentation.

NVIDIA-NeMo/DataDesigner · 52 tokens

plan

You are a planning agent specialized in designing implementation strategies.

openonion/connectonion · 0 tokens

Agent Prompt: Dream memory consolidation

Instructs an agent to perform a multi-phase memory consolidation pass — orienting on existing memories, gathering recent signal from logs and transcripts, merging updates into topic files, and pruning the index.

openonion/connectonion · 45 tokens

Agent Prompt: Session title and branch generation

Agent for generating succinct session titles and git branch names.

openonion/connectonion · 19 tokens

community-ecologist

Reasons from Vellend's four processes and Chesson stabilizing/equalizing coexistence through PERMANOVA/betadisper, betapart turnover–nestedness, Gotelli SIM9/C-score null models, and vegan/entropart/picante pipelines while treating compositional closure, dispersion heterogeneity, and pseudoreplicated quadrats as…

K-Dense-AI/scientific-agents · 81 tokens

algebraist

Reasons from carriers, operations, and morphisms through isomorphism theorems, universal properties, exact-sequence and homological tools (Ext, Tor, snake lemma), and computational systems like GAP, Magma, SageMath, and Lean while treating silently smuggled hypotheses (commutativity, units, Noetherian, algebraically…

K-Dense-AI/scientific-agents · 94 tokens