ai-counsel: Skill for Claude Code

.claude/skills/deliberation-tester/SKILL.md

deliberation-tester is a skill for Claude Code from blueman82/ai-counsel. It costs 50 tokens per session (5,205 once invoked), scanned A, original, MIT.

A guide to Test-Driven Development, or TDD, for AI deliberation features. TDD means writing a failing test first, adding the code that makes it pass, and then cleaning up the design.

In plain words
What is it for?
Adding adapters, deliberation behavior, agreement detection, decision graphs, voting, or transcript features while keeping unit, integration, and end-to-end tests organized.
Why use it?
It provides a repeatable way to test changes that affect multiple rounds of AI discussion and helps catch regressions.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/harrison/Github/ai-counsel/tests/.

Reuse

Borrowing it

Nothing to install: this file belongs to blueman82/ai-counsel. 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/blueman82/ai-counsel/main/.claude/skills/deliberation-tester/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/blueman82/ai-counsel

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 deliberation-tester

README.md
[![agentmods](https://agentmods.dev/badge/skills/blueman82/ai-counsel/deliberation-tester/github.svg)](https://agentmods.dev/skills/blueman82/ai-counsel/deliberation-tester)
Your own site
<a href="https://agentmods.dev/skills/blueman82/ai-counsel/deliberation-tester"><img src="https://agentmods.dev/badge/skills/blueman82/ai-counsel/deliberation-tester/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 deliberation-tester

Your own site · 80×15
<a href="https://agentmods.dev/skills/blueman82/ai-counsel/deliberation-tester"><img src="https://agentmods.dev/badge/skills/blueman82/ai-counsel/deliberation-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,205 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.00050 $0.05205
Opus 5 $0.00025 $0.02603
Sonnet 5 $0.00010 $0.01041
Haiku 4.5 $0.00005 $0.00521

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

Security

Grade A, and why

deliberation-tester 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 10d 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/skills/deliberation-tester/SKILL.md · 777 lines

How it starts

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

Deliberation Tester Skill

Purpose

This skill teaches Test-Driven Development (TDD) patterns for the AI Counsel deliberation system. Follow the red-green-refactor cycle: write failing test first, implement feature, verify passing, then refactor.

When to Use This Skill

  • Adding new CLI or HTTP adapters
  • Implementing deliberation engine features
  • Building convergence detection logic
  • Adding decision graph functionality
  • Extending voting or transcript systems
  • Any feature that affects multi-round deliberations

Test Organization

The project has 113+ tests organized into three categories:

tests/
├── unit/              # Fast tests with mocked dependencies
├── integration/       # Tests with real CLI tools or system integration
├── e2e/              # End-to-end tests with real API calls (slow, expensive)
├── conftest.py       # Shared pytest fixtures
└── fixtures/
    └── vcr_cassettes/ # Recorded HTTP responses for replay

TDD Workflow

1. Write Test First (RED)

Before implementing any feature, write a test that will fail:

# tests/unit/test_new_feature.py
import pytest
from my_module import NewFeature

class TestNewFeature:
    """Tests for NewFeature."""

    def test_feature_does_something(self):
        """Test that feature performs expected behavior."""
        feature = NewFeature()
        result = feature.do_something()
        assert result == "expected output"

Run the test to verify it fails:

pytest tests/unit/test_new_feature.py -v

2. Implement Feature (GREEN)

Write minimal code to make the test pass:

# my_module.py
class NewFeature:
    def do_something(self):
        return "expected output"

Run the test to verify it passes:

pytest tests/unit/test_new_feature.py -v

3. Refactor (REFACTOR)

Improve code quality while keeping tests green:

  • Extract duplicated logic
  • Improve naming
  • Optimize performance
  • Add type hints

Run all tests to ensure nothing broke:

pytest tests/unit -v

Read the full file on GitHub · 777 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. 10d ago First seen · 777 lines · 50 tokens per session scan A c859fcfa2047

Subscribe to this mod's changes

deliberation-tester is a skill published in the GitHub repository blueman82/ai-counsel (1 stars, last pushed 4mo ago), licensed MIT. It adds 50 tokens to every session and 5,205 once invoked, about $0.0003 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.