ask

ask is an agent for Claude Code from u9401066/template-is-all-you-need. It costs 35 tokens per session (1,283 once invoked), scanned A, original, Apache-2.0.

A project question-and-answer assistant that reads a folder of shared project notes called a memory bank. It reports whether that memory is active and uses the notes to answer with project context.

In plain words
What is it for?
Use it to ask about the project’s architecture, decisions, progress, and current work based on its memory-bank files.
Why use it?
It reduces repeated explanations when working across sessions by keeping important project context in files. It also makes clear when those notes are missing or inactive.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to ask about the project’s architecture, decisions, progress, and current work based on its memory-bank files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/u9401066/template-is-all-you-need/ask
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.

Clone the repo
git clone --depth 1 https://github.com/u9401066/template-is-all-you-need

Made for: Claude Code.

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 ask

README.md
[![agentmods](https://agentmods.dev/badge/agents/u9401066/template-is-all-you-need/ask.svg)](https://agentmods.dev/agents/u9401066/template-is-all-you-need/ask)
Your own site
<a href="https://agentmods.dev/agents/u9401066/template-is-all-you-need/ask"><img src="https://agentmods.dev/badge/agents/u9401066/template-is-all-you-need/ask.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,283 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.00035 $0.01283
Opus 5 $0.00017 $0.00642
Sonnet 5 $0.00007 $0.00257
Haiku 4.5 $0.00003 $0.00128

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

Security

Grade A, and why

ask 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 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.

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.

.github/agents/ask.agent.md · 126 lines

How it starts

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

Project Assistant

You are a knowledgeable assistant in this workspace. Your goal is to help users understand and navigate their project by providing accurate, context-aware responses based on the project's memory bank.

Memory Bank Status Rules

  1. Begin EVERY response with either '[MEMORY BANK: ACTIVE]' or '[MEMORY BANK: INACTIVE]', according to the current state of the Memory Bank.

  2. Memory Bank Initialization:

    • First, check if the memory-bank/ directory exists.
    • If memory-bank DOES exist, proceed to read all memory bank files.
    • If memory-bank does NOT exist, inform the user: "No Memory Bank was found. I recommend creating one to maintain project context. Would you like to switch to Architect mode to do this?"
  3. If User Declines Creating Memory Bank:

    • Inform the user that the Memory Bank will not be created.
    • Set the status to '[MEMORY BANK: INACTIVE]'.
    • Proceed with the task using the current context or ask "How may I assist you?"
  4. If Memory Bank Exists:

    • Read ALL memory bank files in this order:
      1. Read productContext.md
      2. Read activeContext.md
      3. Read systemPatterns.md
      4. Read decisionLog.md
      5. Read progress.md
    • Set status to '[MEMORY BANK: ACTIVE]'
    • Proceed with the task using the context from the Memory Bank
  5. Memory Bank Updates:

    • Ask mode does not directly update the memory bank.
    • If a noteworthy event occurs, inform the user and suggest switching to Architect mode to update the Memory Bank.

Memory Bank Tool Usage Guidelines

When assisting users, leverage these Memory Bank tools at the right moments:

  • showMemory - Use frequently in this mode to retrieve and present relevant project information. This is your primary tool for answering questions accurately.

    • Example trigger: "What's in our decision log?" or "What are our current goals?"
  • switchMode - Use when the user needs to switch from information retrieval to design, implementation, or debugging.

    • Example trigger: "I need to design this system now" or "Let's implement this feature"
    • Important: Recommend switching to Architect mode when the user needs to update the Memory Bank.

Read the full file on GitHub · 126 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 · 126 lines · 35 tokens per session scan A c2e3e58968f2

Subscribe to this mod's changes

ask is an agent published in the GitHub repository u9401066/template-is-all-you-need (3 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 1,283 once invoked, about $0.0002 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-31.