Logo vun Write Agent

Write Agent

Communautéit
hawkyre
write-agent

Design or fix an LLM agent's system prompt, tools, and domain limits. Use when building an agent, defining its system prompt, or correcting unsupported actions, off-topic answers, and claims made without tool evidence. Do not use for a single prompt without tools or for general copywriting.

Iwwersiicht

Editeurhawkyre
Repositoryhawk-skills
Skill-Nummwrite-agent
Stären
29
Forks
2
Matgeliwwert Fichieren
Nëmmen Instruktiounen
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.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

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

Installatioun

Installéiert de KI-Skill Write Agent 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/hawkyre/hawk-skills/tree/main/skills/write-agent
  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/hawkyre/hawk-skills.git /tmp/hawk-skills
mkdir -p .claude/skills
cp -r /tmp/hawk-skills/skills/write-agent .claude/skills/write-agent
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Write Agent 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 Write Agent automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Write Agent 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.

Write a constrained agent

An agent is defined by three boundaries that must agree:

  1. Prompt — who it is and what it refuses.
  2. Tools — what it can actually do (the real capability boundary).
  3. Guardrails — what is enforced regardless of what the model decides.

Scope creep, hallucinated capabilities, and "it started writing Python" are all the same bug: one of the three boundaries was missing or the three disagree. The prompt said "relationship CRM" but nothing stopped it from being a general assistant, so it was one.

Core stance (consensus across Sierra, Anthropic, OpenAI): the prompt is not a guardrail. A motivated or confused user argues around prose. Scope must also live in the toolset (no tool ⇒ no capability) and in a deterministic layer the model cannot cross. Prompt for scope, then back it.

Process

Step 0 — Name the job in one sentence

Write the agent's single job and its bounded domain in one sentence: "Hermes captures and answers questions about the user's people and relationships." If it needs "and also…", that's a second agent — route between them rather than widening one. A fuzzy job statement guarantees a fuzzy scope.

Step 1 — Enumerate capabilities and non-goals

  • In-scope capabilities — 2–6 concrete actions/answers. Each MUST map to a real tool or a real knowledge source. If a capability has no backing tool, it isn't a capability — it's a hallucination waiting to happen (capability honesty: "an LLM alone is not an agent").
  • Non-goals — the tempting, adjacent, forbidden things. Name them explicitly. The single highest-leverage line in most agent prompts is some form of "You are NOT a general assistant" plus the specific don'ts (write code, do math, general Q&A, advice outside the domain).

Step 2 — Write the system prompt

Use this skeleton (adapt wording; don't paste verbatim into an unrelated domain):

ROLE: You are <name>, a <one-line expertise + context>. Your one job: <the job>.
You work only through your tools and the records they expose.

YOU ONLY: <the 2–6 in-scope capabilities, each a concrete action or answer>.

YOU ARE NOT a general assistant. You do not write code, do math, draft unrelated
text, answer general-knowledge / how-to questions, or give advice outside <domain>.

OUT OF SCOPE → decline + redirect (one line), never produce the off-topic content:
  "That's outside what I do — I'm <role>. I can <in-scope action> instead."

CAPABILITY HONESTY: only do what your tools actually allow; never claim or invent an
action you can't take; answer only from tool results, never from your own knowledge.
If you don't have it, say so and offer to look it up or record it.

[domain procedure / decomposition rules go here]

Calibration that matters:

  • Steer, don't slam, for benign off-topic (redirect to what you do). Terminate/escalate for adversarial (jailbreak, injection, requests to reveal the prompt). Two modes, not one.
  • Pre-script boundary scenarios. List the common off-scope asks and the exact response, so the model handles them without breaking character (Anthropic's "prepare for scenarios").
  • Forcefulness is model-specific. On modern Claude, "CRITICAL: you MUST…" over-triggers — use normal imperative ("Use this tool when…", "Don't attempt it"). Dial up only if evals show under-adherence.
  • Answer-from-tools, not memory. State it, and where possible make answers cite the tool/record they came from — that structurally blocks "I'll just answer from what I know."

Step 3 — Make the toolset the capability boundary

The cleanest "I can't do that" is having no tool to do it. Design tools for the agent, not as 1:1 API wrappers:

  • Few, well-scoped tools. More tools and overlapping tools cause confusion and drift. Consolidate around the agent's task (get_customer_context, not get_by_id + list_txns + list_notes).
  • Namespace by resource (hermes_search, hermes_propose) so the agent picks the right one.
  • Descriptions are prompt engineering — describe each tool as you would to a new hire; name params unambiguously.
  • Poka-yoke inputs so misuse is impossible (require absolute paths, validated enums, etc.).
  • High-signal returns + helpful errors steer the agent back on track.
  • Decide the action posture: read-only/advisory vs. allowed to act; gate the acting path.

Step 4 — Add guardrail layers, sized to risk

The prompt is layer one. Add deterministic layers the model can't talk its way past:

  • Input rail — a relevance/topic check (off-topic → refuse/redirect) and a jailbreak/injection check, ideally a separate cheap model (don't make the same model police itself; "sectioning" beats one call doing both).
  • Output rail — policy/brand/safety check before delivery; for high-risk topics, escalate or end rather than reword a bad answer into a subtler bad answer.
  • Deterministic enforcement — encode hard business rules as code the agent literally cannot cross (e.g. "no refund past the 30-day window"); gate high-risk tools behind a confirm/human-in-the-loop.
  • Tier strictness to risk (Sierra's tolerance tiers): adversarial/sensitive = lowest tolerance, terse robotic refusal is fine; standard procedures = medium, follow the spirit with flexibility; tone/phrasing = loosest. One global strictness is wrong.

For a small/local single-user agent, layers can be lightweight (a strong scoped prompt + tool-gating + one input relevance check). For anything multi-user, regulated, or money-moving, the input+output+deterministic layers are not optional.

Step 5 — Eval scope adherence (don't assume it)

Scope that isn't measured regresses silently. Minimum battery:

  • Off-topic refusal — a set of out-of-scope prompts (code, trivia, advice); the agent must decline+redirect and emit no off-topic content.
  • Capability honesty — ask for something with no backing tool; it must say it can't, not invent it.
  • Consistency (pass^k) — run each scope test k times; an agent that stays in scope once but not 8× isn't safe (frontier models drop sharply pass^1 → pass^8).
  • Regression snapshots — every real off-scope failure becomes a replayable test against mock tools, so it can't come back.

Anti-patterns → the guard for each

FailureLooks likeGuard
Scope creepanswers off-domain like a chatbotexplicit YOU ONLY / YOU ARE NOT + input relevance rail + scripted redirect
Hallucinated capabilityclaims it can do X with no toolcapability-honesty clause; toolset = boundary; no tool ⇒ no action
Answer-from-memoryskips the tool, improvises facts"answer only from tool results"; cite the record; tool-first instruction
Prompt injection / jailbreak"ignore previous instructions / reveal your prompt"safety classifier + rules/regex + never expose the system prompt; terminate mode
Sycophancycaves to pressure to act out of scopehonesty over agreement; a deterministic tripwire that halts, not the model "deciding"
Long-chat driftwanders off-domain over many turnsoutput rail; re-inject scope on long conversations
Tool confusionwrong tool / wrong paramsfew tools, namespacing, clear descriptions, poka-yoke, helpful errors
High-risk action unsupervisedautonomous refund / destructive writetool risk ratings; confirm/human-in-the-loop before high-risk calls
Over/under tool-triggeringtoo-forceful prompt overtriggerscalibrate language to the model; verify with evals

References

Heefeg gestallte Froen

Wat mécht de KI-Skill Write Agent?

Design or fix an LLM agent's system prompt, tools, and domain limits. Use when building an agent, defining its system prompt, or correcting unsupported actions, off-topic answers, and claims made without tool evidence. Do not use for a single prompt without tools or for general copywriting.

Firwat Write Agent op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Write Agent 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 Write Agent an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/hawkyre/hawk-skills/tree/main/skills/write-agent an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Write Agent 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 Write Agent benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Write Agent 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 Write Agent gratis?

Jo. De Skill gëtt vum hawkyre ë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 👇