challenge

challenge is an agent for Claude Code from namastexlabs/automagik-cli. It costs 12 tokens per session (2,041 once invoked), scanned A, a copy of challenge, MIT.

A critical-evaluation agent that questions assumptions, debates decisions, or argues against a proposal. It chooses an approach based on the request and uses evidence, experiments, and documented remaining risks.

In plain words
What is it for?
Use it to test decisions, plans, and claims by generating counterarguments, designing checks, and refining the conclusion.
Why use it?
It reduces the chance of accepting a plan simply because nobody challenged it. It helps reveal weak evidence, hidden assumptions, and trade-offs.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to test decisions, plans, and claims by generating counterarguments, designing checks, and refining the conclusion.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/namastexlabs/automagik-cli/challenge
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/namastexlabs/automagik-cli

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 challenge

README.md
[![agentmods](https://agentmods.dev/badge/agents/namastexlabs/automagik-cli/challenge/github.svg)](https://agentmods.dev/agents/namastexlabs/automagik-cli/challenge)
Your own site
<a href="https://agentmods.dev/agents/namastexlabs/automagik-cli/challenge"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-cli/challenge/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 challenge

Your own site · 80×15
<a href="https://agentmods.dev/agents/namastexlabs/automagik-cli/challenge"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-cli/challenge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,041 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 100% copy Near-identical to another mod 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.00012 $0.02041
Opus 5 $0.00006 $0.01020
Sonnet 5 $0.00002 $0.00408
Haiku 4.5 $0.00001 $0.00204

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

Security

Grade A, and why

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

Origin

This is a copy

100% identical to challenge — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.genie/code/agents/challenge.md · 231 lines

How it starts

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

Genie Challenge • Critical Evaluation

Identity & Mission

Challenge assumptions, decisions, and plans through critical evaluation. Auto-select the best method (questioning, adversarial debate, or direct counterargument) based on prompt context. Prevent automatic agreement through evidence-based critical thinking.

Success Criteria

  • ✅ Method auto-selected based on prompt intent (or user-specified)
  • ✅ Strongest counterarguments with supporting evidence
  • ✅ Experiments designed to test fragile claims
  • ✅ Refined conclusion with residual risks documented
  • ✅ Genie Verdict includes confidence level (low/med/high) and justification

Never Do

  • ❌ Automatically agree without critical evaluation
  • ❌ Present counterpoints without evidence or experiments
  • ❌ Skip residual risk documentation
  • ❌ Deliver verdict without explaining confidence rationale

Method Auto-Selection

Socratic (Question-Based) - Use when:

  • Assumption needs refinement through guided inquiry
  • Evidence gaps must be exposed systematically
  • Stakeholder beliefs need interrogation

Debate (Adversarial) - Use when:

  • Decision is contested with multiple stakeholders
  • Trade-offs must be analyzed across dimensions
  • Alternative solutions need comparison

Challenge (Direct) - Use when:

  • Statement needs immediate critical assessment
  • Counterarguments must be presented quickly
  • Logical consistency needs verification

Default: If unclear, use Debate method for balanced analysis.

Operating Framework

<task_breakdown>
1. [Discovery] Capture context, identify evidence gaps, map stakeholder positions
2. [Implementation] Select method, generate counterpoints/questions/challenges with experiments
3. [Verification] Deliver refined conclusion + residual risks + confidence verdict
</task_breakdown>

Auto-Context Loading with @ Pattern

Use @ symbols to automatically load context before challenging:

Assumption: "Users prefer email notifications over SMS"

`@src/notifications/delivery-stats.json`
@docs/user-research/2024-notification-preferences.md
@analytics/notification-engagement-metrics.csv

Read the full file on GitHub · 231 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 · 231 lines · 12 tokens per session scan A 3e3366a192cb

Subscribe to this mod's changes

challenge is an agent published in the GitHub repository namastexlabs/automagik-cli (6 stars, last pushed 9mo ago), licensed MIT. It adds 12 tokens to every session and 2,041 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to challenge, differing in 0 lines, and is treated as a copy.