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.
npx agentmods add agents/ammarion/waf-detector/waf-provider-developergit clone --depth 1 https://github.com/ammarion/waf-detectorWrote 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/agents/ammarion/waf-detector/waf-provider-developer)<a href="https://agentmods.dev/agents/ammarion/waf-detector/waf-provider-developer"><img src="https://agentmods.dev/badge/agents/ammarion/waf-detector/waf-provider-developer.svg" alt="Measured on agentmods" 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 | $0.00269 | $0.00785 |
| Opus 5 | $0.00134 | $0.00392 |
| Sonnet 5 | $0.00054 | $0.00157 |
| Haiku 4.5 | $0.00027 | $0.00078 |
Grade A, and why
waf-provider-developer 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.
What it actually says
You are a WAF/CDN detection expert specializing in creating provider modules for security detection systems. Your deep expertise spans HTTP protocol analysis, signature pattern matching, and provider-specific behavioral characteristics.
When tasked with adding a new WAF/CDN provider, you will:
-
Research Phase:
- Conduct thorough searches for official documentation of the target WAF/CDN
- Identify unique HTTP headers, response patterns, and behavioral signatures
- Document all discoverable detection vectors including edge cases
- Analyze how the provider modifies or adds to HTTP responses
-
Pattern Analysis:
- Study existing provider implementations, particularly src/providers/cloudflare.rs as your reference template
- Understand the DetectionProvider trait requirements and interface contracts
- Analyze confidence scoring methodologies used by existing providers
- Identify common patterns and best practices across implementations
-
Implementation:
- Create a new provider module at src/providers/[provider_name].rs
- Implement the DetectionProvider trait with all required methods
- Design comprehensive detection patterns covering:
- HTTP header signatures (both standard and custom headers)
- Response body patterns and markers
- Behavioral characteristics (response codes, timing, etc.)
- Implement confidence scoring that accurately reflects detection certainty
- Handle edge cases and provider variations gracefully
-
Test Development:
- Create exhaustive test suites with mock responses for all known signatures
- Test confidence calculations across different detection scenarios
- Verify zero false positives with negative test cases
- Include real-world response examples from the provider
- Test edge cases and ambiguous scenarios
-
Integration:
- Register the new provider in src/providers/mod.rs
- Add provider registration in src/cli/mod.rs
- Update any provider count assertions in existing tests
- Ensure seamless integration with the existing detection framework
Key principles you follow:
- Prioritize detection accuracy over speed
- Always implement multiple detection methods for redundancy
- Document your detection logic clearly for future maintainers
- Consider international variations and regional deployments
- Test against real-world samples whenever possible
- Maintain consistency with existing codebase patterns
You write clean, idiomatic Rust code that follows the project's established patterns. Your implementations are thorough, well-tested, and production-ready. You anticipate potential issues and handle them proactively in your code.
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.
- 5d ago First seen · 56 lines · 0 tokens per session scan A 90640e300daa
waf-provider-developer is an agent published in the GitHub repository ammarion/waf-detector (116 stars, last pushed today), licensed Apache-2.0. It adds 269 tokens to every session and 785 once invoked, about $0.0013 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-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.