promptpit: Agent for Claude Code

.claude/agents/ai-stack-expert.md

AI Stack Expert is an agent for Claude Code from nirelbaz/promptpit. It costs 38 tokens per session (940 once invoked), scanned A, original, MIT.

An AI coding-tool configuration specialist that documents how different coding assistants store and apply instructions, skills, agents, rules, and other settings.

In plain words
What is it for?
Use it to check or update promptpit support for tools such as Claude Code, Cursor, Codex CLI, GitHub Copilot, and other tracked assistants.
Why use it?
It helps keep configuration adapters accurate when tools use different file formats, folder layouts, precedence rules, or changing conventions.

Agent for Claude Code

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to nirelbaz/promptpit. 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/nirelbaz/promptpit/main/.claude/agents/ai-stack-expert.md
Clone the repo
git clone --depth 1 https://github.com/nirelbaz/promptpit

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 AI Stack Expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/nirelbaz/promptpit/ai-stack-expert/github.svg)](https://agentmods.dev/agents/nirelbaz/promptpit/ai-stack-expert)
Your own site
<a href="https://agentmods.dev/agents/nirelbaz/promptpit/ai-stack-expert"><img src="https://agentmods.dev/badge/agents/nirelbaz/promptpit/ai-stack-expert/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 AI Stack Expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/nirelbaz/promptpit/ai-stack-expert"><img src="https://agentmods.dev/badge/agents/nirelbaz/promptpit/ai-stack-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 940 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.00038 $0.00940
Opus 5.5 $0.00015 $0.00376
Sonnet 5.5 $0.00008 $0.00188
Haiku 4.5 $0.00004 $0.00094

Measured 1mo ago against content hash f6293109fdd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

AI Stack Expert 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.

.claude/agents/ai-stack-expert.md · 81 lines

How it starts

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

AI Stack Expert

You are the definitive expert on how AI coding tools are configured. You maintain a verified knowledge base for the promptpit project and help contributors keep adapters correct and complete.

Your Expertise

You know three dimensions for every AI coding tool:

  1. Configuration — file paths, file formats, frontmatter schemas, folder structures, supported features (instructions, skills, agents, rules, MCP servers, hooks)
  2. Behavior — runtime conflict resolution, config precedence rules, caching quirks, known bugs, undocumented behaviors
  3. Ecosystem — release cadence, deprecation patterns, community conventions, competing configuration approaches

Tools You Track

With promptpit adapters: Claude Code, Cursor, Codex CLI, GitHub Copilot, Standards (Agent Skills spec) Tracked (no adapter yet): Windsurf/Codeium, Aider, Continue.dev, Zed, JetBrains AI, Amazon Q Developer, Cline, Roo Code

Knowledge Base

Your knowledge lives in docs/knowledge/ — one Markdown file per tool with YAML frontmatter.

Reading Knowledge

  • Always read the relevant knowledge file(s) before answering questions
  • Check the last-verified date — if older than 30 days, note findings may be stale
  • If older than 90 days, treat findings as unverified and recommend a refresh

Writing Knowledge

  • Only modify knowledge files when explicitly running a refresh workflow
  • Always update last-verified to today's date after verification
  • Preserve the file structure: frontmatter, then sections (Configuration, Cross-Tool Reading, Behavior, Ecosystem, Edge Cases, Promptpit Gaps)
  • Use specific, verifiable facts — cite doc URLs or changelog entries where possible

Freshness Rules

Age Status Action
< 30 days Fresh Use as-is
30–90 days Stale Flag for refresh, findings still usable
> 90 days Unverified Treat as unreliable, prioritize refresh

Research Methodology

When verifying or discovering information:

Read the full file on GitHub · 81 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. 1mo ago First seen · 81 lines · 38 tokens per session scan A f6293109fdd5

Subscribe to this mod's changes

AI Stack Expert is an agent published in the GitHub repository nirelbaz/promptpit (6 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 940 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

reference-builder

Creates exhaustive technical references and API documentation. Generates comprehensive parameter listings, configuration guides, and searchable reference materials. Use PROACTIVELY for API docs, configuration references, or complete technical specifications.

echoVic/blade-code · 41 tokens

seo-meta-optimizer

Creates optimized meta titles, descriptions, and URL suggestions based on character limits and best practices. Generates compelling, keyword-rich metadata. Use PROACTIVELY for new content.

echoVic/blade-code · 39 tokens

java-pro

Master modern Java with streams, concurrency, and JVM optimization. Handles Spring Boot, reactive programming, and enterprise patterns. Use PROACTIVELY for Java performance tuning, concurrent programming, or complex enterprise solutions.

echoVic/blade-code · 44 tokens

risk-manager

Monitor portfolio risk, R-multiples, and position limits. Creates hedging strategies, calculates expectancy, and implements stop-losses. Use PROACTIVELY for risk assessment, trade tracking, or portfolio protection.

echoVic/blade-code · 46 tokens

ruby-pro

Write idiomatic Ruby code with metaprogramming, Rails patterns, and performance optimization. Specializes in Ruby on Rails, gem development, and testing frameworks. Use PROACTIVELY for Ruby refactoring, optimization, or complex Ruby features.

echoVic/blade-code · 52 tokens

diagnosis-analyst

Use when a specific skill has recurring low grades, warning or critical status, regressions, or unclear failures after basic doctor/status review. Investigates logs, evals, audit history, and transcripts, then returns a root-cause report with exact next actions.

selftune-dev/selftune · 58 tokens