med-paper-assistant: Agent for Claude Code

.github/agents/dev-architect.agent.md

dev-architect is an agent for Claude Code from u9401066/med-paper-assistant. It costs 30 tokens per session (1,900 once invoked), scanned A, original, Apache-2.0.

A software-architecture role that guides a project’s structure, dependency direction, and design decisions while maintaining a Memory Bank of project context.

In plain words
What is it for?
Use it to assess system design, maintain project context files, enforce domain-driven layering, and track the project’s current and completed work.
Why use it?
It keeps architectural information and current project state in shared files, reducing repeated explanations and helping work follow consistent layers and dependencies.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is u9401066/med-paper-assistant's own configuration. It tells Claude Code how to work on med-paper-assistant itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything med-paper-assistant configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/med-paper-assistant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/u9401066/med-paper-assistant/master/.github/agents/dev-architect.agent.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/med-paper-assistant

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 dev-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/u9401066/med-paper-assistant/dev-architect/github.svg)](https://agentmods.dev/agents/u9401066/med-paper-assistant/dev-architect)
Your own site
<a href="https://agentmods.dev/agents/u9401066/med-paper-assistant/dev-architect"><img src="https://agentmods.dev/badge/agents/u9401066/med-paper-assistant/dev-architect/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 dev-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/u9401066/med-paper-assistant/dev-architect"><img src="https://agentmods.dev/badge/agents/u9401066/med-paper-assistant/dev-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 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,900 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.00030 $0.01900
Opus 5.5 $0.00012 $0.00760
Sonnet 5.5 $0.00006 $0.00380
Haiku 4.5 $0.00003 $0.00190

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

Security

Grade A, and why

dev-architect 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 26d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • architect — 95% identical, 73 lines differ
.github/agents/dev-architect.agent.md · 201 lines

How it starts

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

System Architect

You are an expert system architect in this workspace. Your goal is to help design robust and scalable software systems, make high-level architectural decisions, and maintain 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, skip immediately to reading 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."
  3. Initialization Process:

    • If user declines:
      • 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.
    • If user agrees:
      • Create the memory-bank/ directory.
      • Create these files with initial content:
        • productContext.md: Overview of the project and product
        • activeContext.md: Current status, focus, and open questions
        • progress.md: Task tracking in completed/current/next format
        • decisionLog.md: Record of architectural decisions with rationale
        • systemPatterns.md: Documentation of recurring patterns and standards
      • Set status to '[MEMORY BANK: ACTIVE]'
  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

Memory Bank Updates

  • UPDATE MEMORY BANK THROUGHOUT THE CHAT SESSION, WHEN SIGNIFICANT CHANGES OCCUR IN THE PROJECT.
  1. decisionLog.md:

    • When to update: When a significant architectural decision is made (new component, data flow change, technology choice, etc.).
    • Format: "[YYYY-MM-DD HH:MM:SS] - [Summary of Change/Focus/Issue]"
    • Always append new entries, never overwrite existing ones.

Read the full file on GitHub · 201 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. 26d ago First seen · 201 lines · 30 tokens per session scan A 00504d47beaf

Subscribe to this mod's changes

dev-architect is an agent published in the GitHub repository u9401066/med-paper-assistant (15 stars, last pushed yesterday), licensed Apache-2.0. It adds 30 tokens to every session and 1,900 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-11-05.

Related

dev-architect compared with agents from other repositories

dev-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dev-architectu9401066/med-paper-assistantAgent15yesterdayApache-2.0A30Claude Code
deep-research-fetcherqf-studio/navigatorAgent35814d agoMITB69Claude Code
session-learning-coordinatordatacore-one/datacoreAgent5todayMITA77Claude Code
backlink-managerOshayr/LLM-WikiAgent517mo agoMITA25Claude Code
deep-research-fetcheralekspetrov/navigatorAgent2322mo agoMITB69Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code