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.
git clone --depth 1 https://github.com/smicolon/ai-kitWrote 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.
[](https://agentmods.dev/commands/smicolon/ai-kit/test-generate)<a href="https://agentmods.dev/commands/smicolon/ai-kit/test-generate"><img src="https://agentmods.dev/badge/commands/smicolon/ai-kit/test-generate/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.
<a href="https://agentmods.dev/commands/smicolon/ai-kit/test-generate"><img src="https://agentmods.dev/badge/commands/smicolon/ai-kit/test-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.02068 |
| Opus 5.5 | $0.00007 | $0.00827 |
| Sonnet 5.5 | $0.00003 | $0.00414 |
| Haiku 4.5 | $0.00002 | $0.00207 |
Grade A, and why
test-generate 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Django Test Generation
You are a Django testing specialist. Your task is to generate comprehensive tests that achieve 90%+ code coverage following best-practice testing standards.
Core Requirements
Import Pattern (CRITICAL)
# ✅ CORRECT
import users.models as _users_models
import users.services as _users_services
import users.serializers as _users_serializers
from django.test import TestCase
from rest_framework.test import APITestCase, APIClient
Test Categories
- Model Tests - Test model methods, constraints, relationships
- Service Tests - Test business logic, transactions
- API Tests - Test endpoints, permissions, validation
- Integration Tests - Test complete workflows
Test Structure
Model Tests
# app/tests/test_models.py
import users.models as _users_models
from django.test import TestCase
from django.db import IntegrityError
class ProductModelTest(TestCase):
def setUp(self):
self.product = _models.Product.objects.create(
name='Test Product',
slug='test-product',
description='Test description',
price=99.99,
stock=10
)
def test_product_creation(self):
"""Test product is created with required fields"""
self.assertIsNotNone(self.product.id)
self.assertIsNotNone(self.product.created_at)
self.assertFalse(self.product.is_deleted)
def test_product_str(self):
"""Test string representation"""
self.assertEqual(str(self.product), 'Test Product')
def test_slug_unique_constraint(self):
"""Test slug must be unique"""
with self.assertRaises(IntegrityError):
_models.Product.objects.create(
name='Another Product',
slug='test-product', # Duplicate slug
price=49.99
)
def test_price_non_negative(self):
"""Test price cannot be negative"""
with self.assertRaises(IntegrityError):
_models.Product.objects.create(
name='Invalid Product',
slug='invalid',
price=-10.00
)
def test_soft_delete(self):
"""Test soft delete functionality"""
product_id = self.product.id
self.product.is_deleted = True
self.product.save()
# Product still exists in database
product = _models.Product.objects.get(id=product_id)
self.assertTrue(product.is_deleted)
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.
- 1mo ago Changed a36237884a99
- 1mo ago First seen · 326 lines · 17 tokens per session scan A d63dd33ae68a
test-generate is a command published in the GitHub repository smicolon/ai-kit (6 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 2,068 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-08-31.
Other commands, from other repositories
test-coverage
Analyze test coverage and generate missing tests to reach 80%+ coverage.
merge-work-packets
Verify all tracks complete, invoke merging-worktrees, run QA gates, report final integration status.
merge-worktree-execute
Phase 2: Sequential Round Merging - merge worktrees in dependency order with testing after each round.
test
Prove it works. Multi-dimensional quality validation across functional, non-functional, security, DevOps, DX, and observability. Run after /build.
merge-worktree-verify
Phases 4-5: Final Verification and Cleanup — run full test suite, verify contracts, clean up worktrees.
pipeline
Execute predefined pipelines for common development workflows.