Logo vun Prompt Warrior

Prompt Warrior

Communautéit
timoncool
prompt-warrior

Use when the user wants to analyze their communication style with AI from Claude Code logs — asks for a "prompt warrior" profile, an "AI profile", "wrapped", a psychological portrait of how they prompt, statistics of their sessions/messages, or personalized prompt-engineering recommendations based on their chat history. Works in any language (RU/EN lexicons built in).

Iwwersiicht

Editeurtimoncool
Repositoryprompt-warrior
Skill-Nummprompt-warrior
Stären
26
Forks
3
Matgeliwwert Fichieren
112
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 112 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum timoncool op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Prompt Warrior an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/timoncool/prompt-warrior/tree/main
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/timoncool/prompt-warrior.git \
  .claude/skills/prompt-warrior
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Prompt Warrior an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Prompt Warrior automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Prompt Warrior net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Prompt Warrior

Builds a gamified analytical portrait of the user's AI collaboration style from their local Claude Code JSONL logs: real metrics on a FIXED scale (comparable between people) plus fun statuses — a title, a level, achievements with rarity — and evidence-based prompt-engineering recommendations. It is NOT an RPG character sheet: no classes, no stat blocks; the analytics are the product, the statuses are the garnish.

The scale is a contract. All formulas and thresholds live in scripts/analyze.py (SCALE v1) and references/scale.md. NEVER adjust formulas, thresholds, rank mappings, or achievement conditions per user — comparability is the whole point. If a metric looks unflattering, it stays. Report numbers only from profile.json, never invent or soften them.

Workflow

  1. Run the analyzer (Python 3, stdlib only, read-only — it never modifies logs):

    python scripts/analyze.py -o profile.json                        # all time, all projects
    python scripts/analyze.py --days 7 -o profile.json               # last week
    python scripts/analyze.py --days 30 -o profile.json              # last month
    python scripts/analyze.py --date-from 2026-06-01 --date-to 2026-06-30 -o profile.json
    python scripts/analyze.py --project <dir-name> -o profile.json   # one project

    THE RANGE IS THE USER'S CHOICE: if they named a period («за неделю», "this month", dates), pass it; if they didn't, default to all time and mention that a range is available. Never pick a range for the user silently. Default logs location: ~/.claude/projects. Use --projects-dir to override. Try python3 if python is missing. RUNNING IN A DIFFERENT HARNESS (OpenCode, Codex CLI, Gemini CLI, Copilot)? See references/harnesses.md — known log locations and formats, and how to plug a new source into SOURCES. If your paths differ, orient by analogy as described there.

  2. Read profile.json.

    • {"error": "not_enough_data"} → tell the user at least 30 of their own messages are needed; stop.
    • "low_confidence": true (< 100 messages) → include a visible "small sample" caveat.
  3. Generate the local avatar (optional, offline) — a deterministic monster from the user's title via the robohash package (assembles bundled PNG layers locally; zero network):

    python scripts/avatar.py --from-profile profile.json -o avatar.png

    If the package is missing, offer ONCE: «поставить pip install robohash для локальных аватаров-монстров?» — install on yes, skip on no. Without the avatar the card simply renders without an image — NEVER substitute placeholders, letters or icons in its place. The monster evolves when the title changes — mention it.

3а. Write the Warrior's Chronicle («Хроника воина») — 2-4 paragraphs (~100-180 words) that YOU, the model, author from profile.json: a characterization / mini-biography of the user in the grimoire-chronicle voice with light humor. Rules: facts strictly from the profile (no inventions), NO numbers (numbers live in the card sections — each number appears exactly once), neutral to metric values (do not shame, do not flatter), 1-2 accents max, written in the card's language. This is the one place the model speaks freely — make it feel written, not generated.

  1. Build and SHOW the card — output degrades gracefully, in this order: a. You do NOT write HTML/CSS/SVG. Write content.json — ONLY your authored parts, in the card language:

    json
    {"chronicle": ["<p1>", "<p2>", "<p3>"],
     "strengths": ["..."],
     "weaknesses": [{"w": "...", "a": "...", "ev": "...", "url": "https://..."}]}

    (chronicle = step 3а; strengths ≤3 and weakness→fix pairs ≤4 picked by the rules in references/widget.md). Then run the canonical renderer:

    python scripts/render.py profile.json --content content.json --lang ru -o ai-profile.html

    (--lang en for English — labels are symmetric, data fields are bilingual.) It fills the whole card: numbers exactly once, bars, gauges, icons, favicon, seal, achievements accordion, avatar if avatar.png exists. Tell the user the path. NEVER Read .svg asset files into context (widget.md, rule 2д). b. OPEN it for the user: if a preview panel/tool is available, open it there; otherwise open in the default browser (start on Windows, open on macOS, xdg-open on Linux). Do not make the user open the file by hand. c. If an inline widget tool is available, ALSO render an inline widget mirroring the same sections and numbers. d. If NONE of the above is available (headless/console-only environment), render the card as TEXT in the console following the text-fallback spec at the end of references/widget.md — same sections, same numbers, bars as unicode blocks.

  2. Explain the profile in the user's conversation language (the widget carries both RU and EN labels from profile.json). If profile.delta is present and non-null, LEAD with what changed since the last visit — new achievements first (that is the share-worthy moment: «получена новая ачивка!»), then level/title changes, then the 2-3 most notable metric shifts with direction. Then the numbers: notable metrics, strengths and weaknesses; then the flavor: title, achievements. Always surface 1-2 non-obvious insights — the most extreme or most characteristic numbers in the profile, phrased as discoveries, not judgements. Numbers verbatim from profile.json.

  3. Give recommendations using references/recommendations.md: pick the entries whose trigger conditions match the profile, present 3-6 of them, each with its evidence note. Do not moralize about tone — research shows aggregate quality impact of tone is near zero; frame tone findings as fun facts plus practical notes (see recommendations.md). If the user asks about tone tricks, rudeness, tips/threats or "prompting lifehacks", use the Anti-myths section of recommendations.md — debunked claims with vote verdicts.

Rules

  • Read-only with respect to user logs. Files written: profile.json, ai-profile.html, and the local progress history ~/.claude/prompt-warrior/history.jsonl (all-time runs only; disable with --no-history). History never leaves the machine.
  • Respond in the user's language; RU/EN both supported end to end.
  • Fixed scale: same formulas for everyone, always cite SCALE v1 version in the card footer.
  • Privacy: everything runs locally; nothing leaves the machine.
  • If the user asks to compare with friends: they run the same skill and exchange profile.json files; then python scripts/compare.py mine.json theirs.json prints a duel card. Identical scale version = comparable; the script warns otherwise.
  • v1.4 layers (economy/arsenal) are computed over the WHOLE corpus regardless of the chosen period — say so if the user picked a range.
  • Juicy v1.3 signals for narration when notable: interruptions_per_100 (impatience), boiling_point_median + boiled_sessions_pct (how fast sessions heat up), werewolf_ratio (night vs day profanity), signature_words (the user's own vocabulary — present playfully, never judgementally).

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

a weider 52 Fichieren.

Heefeg gestallte Froen

Wat mécht de KI-Skill Prompt Warrior?

Use when the user wants to analyze their communication style with AI from Claude Code logs — asks for a "prompt warrior" profile, an "AI profile", "wrapped", a psychological portrait of how they prompt, statistics of their sessions/messages, or personalized prompt-engineering recommendations based on their chat history. Works in any language (RU/EN lexicons built in).

Firwat Prompt Warrior op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Prompt Warrior besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Prompt Warrior an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/timoncool/prompt-warrior/tree/main an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Prompt Warrior benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Prompt Warrior benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Prompt Warrior domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Prompt Warrior gratis?

Jo. De Skill gëtt vum timoncool ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇