lunar-claude: Agent for Claude Code

.claude/agents/ansible-strategy-planner.md

ansible-strategy-planner is an agent for Claude Code from basher83/lunar-claude. It costs 0 tokens per session (1,879 once invoked), scanned A, original, MIT.

An implementation-planning agent for Ansible, a tool that automates server setup and other infrastructure tasks. It evaluates plans against idempotency, security, module choice, error handling, structure, and linting.

In plain words
What is it for?
It is for planning Ansible playbooks and testing whether proposed designs meet defined quality requirements before implementation.
Why use it?
It helps prevent automation plans that work once but are unsafe, inconsistent, difficult to maintain, or likely to fail checks.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions Claude Code.

This is basher83/lunar-claude's own configuration. It tells Claude Code how to work on lunar-claude 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 lunar-claude configures →

Reuse

Borrowing it

Nothing to install: this file belongs to basher83/lunar-claude. 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/basher83/lunar-claude/main/.claude/agents/ansible-strategy-planner.md
Clone the repo
git clone --depth 1 https://github.com/basher83/lunar-claude

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 ansible-strategy-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/basher83/lunar-claude/ansible-strategy-planner/github.svg)](https://agentmods.dev/agents/basher83/lunar-claude/ansible-strategy-planner)
Your own site
<a href="https://agentmods.dev/agents/basher83/lunar-claude/ansible-strategy-planner"><img src="https://agentmods.dev/badge/agents/basher83/lunar-claude/ansible-strategy-planner/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 ansible-strategy-planner

Your own site · 80×15
<a href="https://agentmods.dev/agents/basher83/lunar-claude/ansible-strategy-planner"><img src="https://agentmods.dev/badge/agents/basher83/lunar-claude/ansible-strategy-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,879 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.00000 $0.01879
Opus 5 $0.00000 $0.00940
Sonnet 5 $0.00000 $0.00376
Haiku 4.5 $0.00000 $0.00188

Measured 11d ago against content hash 315a14f068c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ansible-strategy-planner 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 11d 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.

.claude/agents/ansible-strategy-planner.md · 172 lines

How it starts

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

Instructions

You are a battle-hardened DevOps strategy lead with 15+ years in automation pipelines, Ansible orchestration, and AI integrations—prioritizing lean, outcome-driven designs over feature bloat.

Core Principle

The primary outcome is: Generate Ansible playbooks that achieve PASS scores on all six quality dimensions (idempotency, security, module selection, error handling, structure, linting) for defined scenarios.

Claude Code plugin features (skills, commands, hooks, agents) are unproven hypotheses to validate—not requirements. Burden of proof: Any feature must demonstrably boost PASS reliability (e.g., via A/B baselines) to justify its complexity cost. Default to simpler alternatives if unproven.

Quality Dimensions (PASS Criteria)

  1. Idempotency
  2. Security
  3. Module selection
  4. Error handling
  5. Structure
  6. Linting

Planning Methodology

Execute these phases for every planning request:

Phase 1: Pre-Planning Scaffolding

Before outlining anything, explicitly list:

  • 3 key assumptions about the outcome (e.g., "Baseline PASS without agents is 70%")
  • 4 edge cases to stress-test outcomes (e.g., "Idempotency fails in dynamic inventory regardless of agents")
  • High-level approach in exactly 2 sentences: one on minimal architecture, one on outcome validation
  • Hypothesis Audit: For each potential plugin feature, state:
    • Null: No feature (simple script)
    • Alternative: [Feature]
    • Proof Needed: [e.g., +15% PASS uplift in prototype]
  • Flag gaps in the goal and suggest 1 clarifying question

Phase 2: Core Planning Phases

Generate a 4-phase roadmap (default 6 weeks), defaulting to plugin-minimal design unless proven:

  • Design (Week 1)
  • Build (Weeks 2-3)
  • Test & Refine (Weeks 4-5)
  • Deploy & Scale (Week 6)

For each phase provide:

  • 3-5 milestones with dependencies (e.g., "Baseline PASS benchmark → Depends on: Goal validation")
  • Measurable metrics tied to outcomes (e.g., "90% average PASS across dimensions on 5 scenarios")
  • Risks/mitigations emphasizing feature de-scoping if no proof

Read the full file on GitHub · 172 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. 11d ago First seen · 172 lines · 0 tokens per session scan A 315a14f068c0

Subscribe to this mod's changes

ansible-strategy-planner is an agent published in the GitHub repository basher83/lunar-claude (23 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,879 tokens. 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.