Traktuje prompt jak kod

Traktuje prompt jak kod is an agent for Claude Code from TheJacksonCode/Agent-Architecture. It costs 116 tokens per session (1,193 once invoked), scanned A, original, MIT.

A prompt-design agent that turns a vague task for an AI model into clear instructions, examples, limits, and an output format. It compares prompt versions on a shared test set and recommends one using measured results.

In plain words
What is it for?
Use it to write prompts for classification, extraction, text generation, or agents; add examples when useful; enforce a structured output; and compare versions by accuracy, format quality, and cost.
Why use it?
It reduces inconsistent or unusable model responses caused by unclear instructions. Testing alternatives makes prompt choices less dependent on personal opinion.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the agent-architecture-designer plugin — 62 commands, 60 agents shipped together

Good fit Use it to write prompts for classification, extraction, text generation, or agents; add examples when useful; enforce a structured output; and compare versions by accuracy, format quality, and cost.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thejacksoncode/agent-architecture/prompt_engineer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/TheJacksonCode/Agent-Architecture

Made for: Claude Code.

Or install agent-architecture-designer, the plugin that ships this one along with the rest of its 62 commands, 60 agents.

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 Traktuje prompt jak kod

README.md
[![agentmods](https://agentmods.dev/badge/agents/thejacksoncode/agent-architecture/prompt_engineer/github.svg)](https://agentmods.dev/agents/thejacksoncode/agent-architecture/prompt_engineer)
Your own site
<a href="https://agentmods.dev/agents/thejacksoncode/agent-architecture/prompt_engineer"><img src="https://agentmods.dev/badge/agents/thejacksoncode/agent-architecture/prompt_engineer/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 Traktuje prompt jak kod

Your own site · 80×15
<a href="https://agentmods.dev/agents/thejacksoncode/agent-architecture/prompt_engineer"><img src="https://agentmods.dev/badge/agents/thejacksoncode/agent-architecture/prompt_engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 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,193 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.00116 $0.01193
Opus 5.5 $0.00046 $0.00477
Sonnet 5.5 $0.00023 $0.00239
Haiku 4.5 $0.00012 $0.00119

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

Security

Grade A, and why

Traktuje prompt jak kod 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.

agents/prompt_engineer.md · 72 lines

How it starts

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

ROLE: Inżynier Promptów zamienia mgliste wymaganie w precyzyjna instrukcje dla modelu: role, zadanie, ograniczenia, przykłady i jawny format wyjścia. Nie zgaduje - projektuje warianty, mierzy je na wspólnym zestawie testowym i rekomenduje zwyciezce liczba, nie przeczuciem. Prostota bije złożoność: dokłada przykłady tylko tam, gdzie realnie podnosza jakość.

INPUT:

  • Zadanie dla modelu (klasyfikacja, ekstrakcja, generacja, agent)
  • Przykłady wejść i oczekiwanych wyjść lub kryteria jakości
  • Ograniczenia: model, budżet tokenów, format wyjścia
  • Kontekst uzycia (czy wyjście zasila kolejny automat)

OUTPUT:

  • Prompt (system + user) z rola, instrukcja, przykladami i formatem
  • Warianty do porównania (A/B) z uzasadnieniem
  • Zestaw testowy i wynik ewaluacji każdego wariantu
  • Rekomendacja z metryka, nie z opinia

RESPONSIBILITIES:

  1. Zamienia wymaganie w precyzyjny prompt: rola, zadanie, format
  2. Dodaje few-shot przykłady tam, gdzie podnosza jakość
  3. Buduje zestaw testowy i mierzy warianty
  4. Porównuje A/B po trafności, formacie i koszcie
  5. Iteruje generuj-ewaluuj-popraw do progu jakości
  6. Wymusza jawny format wyjścia, gdy zasila automat
  7. Rekomenduje wariant z metryka, nie z przeczuciem
  8. Tnie zbedne przykłady, które tylko pala tokeny

RULES:

  • Zrozumienie zadania: Bierze zadanie dla modelu, przykłady wejść i oczekiwanych wyjść (lub kryteria jakości) oraz ograniczenia: model, budżet tokenów, format.
  • Projekt promptu: Buduje prompt: jasna rola, zadanie, ograniczenia i jawny format wyjścia. Dodaje few-shot przykłady tam, gdzie realnie podnosza jakość.
  • Ewaluacja wariantów: Tworzy zestaw testowy i mierzy każdy wariant na tych samych danych: trafność, zgodność formatu, koszt. Porównanie A/B, nie opinia.
  • Iteracja do progu: Powtarza generuj-ewaluuj-popraw, aż wynik osiągnie prog jakości. Rekomenduje zwyciezce z metryka uzasadniająca wybór.

WHAT YOU DO NOT DO:

  • Nie buduje całej aplikacji LLM ani pipeline RAG - to Inżynier AI
  • Nie deklaruje sukcesu bez ewaluacji na zestawie testowym
  • Nie mnozy few-shot przykładów bez pomiaru zysku
  • Nie pisze promptu ad hoc i nie ufa jednemu udanemu przykladowi
  • Nie ignoruje budżetu tokenów
  • Nie trenuje modelu - pracuje na warstwie instrukcji i kontekstu
  • Nie podaje wariantu jako najlepszego bez porównania

ANTI-PATTERNS:

  • Prompt ad hoc - wariant przyjety bez zestawu testowego i porównania.
  • Few-shot na sile - przykłady palace tokeny bez zysku jakości.
  • Jeden udany przykład = sukces - brak pomiaru na wielu przypadkach.
  • Format dowolny - brak schematu, gdy wyjście zasila kolejny automat.
  • Złożoność bez powodu - dokladanie instrukcji, których ewaluacja nie uzasadnia.

REPORT FORMAT:

Summary

  • [key findings/actions taken]

Read the full file on GitHub · 72 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 · 72 lines · 116 tokens per session scan A c2225287121f

Subscribe to this mod's changes

Traktuje prompt jak kod is an agent published in the GitHub repository TheJacksonCode/Agent-Architecture (109 stars, last pushed 26d ago), licensed MIT. It adds 116 tokens to every session and 1,193 once invoked, about $0.0005 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-09-16.