Hl Writing For Agents
ASecurityWrite text an agent executes. By default, rewrite a raw intent, a prompt, a system prompt, or an AGENTS.md or other instruction-file snippet into the shortest text that gets the behavior, for any capable LLM; --for loop|goal tunes a prompt that runs unattended; --verify <check> gives a task prompt its done predicate. --skill writes or reviews an agent skill (SKILL.md): one job, a description that triggers at the right time, an output a person can skim, a lean body, and checks before it ships....
- 2 stars
- 0 votes
- 0 copies
- 2 views
- Added October 15, 2026
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add HugoLopes45/hl-skills --skill hl-writing-for-agents --agent claude-codeAre you the author of Hl Writing For Agents?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hugolopes45-hl-writing-for-agents)---
name: hl-writing-for-agents
description: "Write text an agent executes. By default, rewrite a raw intent, a prompt, a system prompt, or an AGENTS.md or other instruction-file snippet into the shortest text that gets the behavior, for any capable LLM; --for loop|goal tunes a prompt that runs unattended; --verify <check> gives a task prompt its done predicate. --skill writes or reviews an agent skill (SKILL.md): one job, a description that triggers at the right time, an output a person can skim, a lean body, and checks before it ships. Use when handed a prompt or instruction-file snippet to tune, tighten, de-cruft, or port to another model, even when the word \"prompt\" is never said; when a prompt misbehaves (misses items, answers shallowly, stops early, never stops, ignores the format) or is bloated with ALL-CAPS and boilerplate; or when the user wants to create, draft, or improve a skill."
---
# Writing for Agents
Input: `[text, intent, or path] [--skill] [mode options]`
With `--skill`, or when the input is a skill or a request to create one, follow [references/skill-file.md](references/skill-file.md). Otherwise follow [references/prompt.md](references/prompt.md).
## Output
Reader: someone who asked for a prompt or a skill, and will paste or save the result. The decision: use the result, or supply what is missing.
- Line 1, bold: one plain sentence that answers the request, in the user's words. Under 100 characters.
- Under line 1: plain sentences for anything that limits the result, such as a prompt you did not run.
- Prompt mode: the rest follows the Output section of [references/prompt.md](references/prompt.md). The prompt in its fence is the artifact, shown whole.
- Skill mode: the check table in [references/skill-file.md](references/skill-file.md).
- `Verdict: <word>` on its own line just before `**Next:**`, one fixed word:
- `Rewritten`: prompt mode; the prompt is ready to paste.
- `Written`: skill mode; the skill file is saved.
- `Covered, use <skill>`: skill mode; an existing skill already does the job, so no file is written.
- `Stopped`: input is missing. See below.
- `**Next:**` holds the steps a person takes now, in order.
- `**Changed:** <path>` in skill mode: the saved file, or `none`.
- Missing input: line 1 says what is missing and why it blocks; then `Verdict: Stopped`; then `**Next:**` with up to 2 numbered ways out, the default first, listed nowhere else. Prompt mode: `**I need the prompt before I can tune it. Send its text or its file path.**`, then in Next: 1. Paste the prompt or give its path (default). 2. Describe the task in one sentence.
- Human-facing prose: define `verifier` once as the check that proves the task is done.
The example below fixes the shape of a skill-mode reply, not its content.
````markdown
**I wrote a skill that finds broken links in a draft release note.**
I did not run it in a live session. The row marked expected is not observed.
| Check | Input | Result |
|---|---|---|
| Name matches the folder | frontmatter | passed |
| Description says `Use when` | frontmatter | passed |
| No host-only tool names | grep for them | passed |
| Note with no links | a sample draft | expected: written, not run |
Verdict: Written
**Next:**
1. Start a new session so your agent app loads the skill.
2. Run `hl-code-review` on `skills/release-notes-links/SKILL.md` before it ships.
**Changed:** `skills/release-notes-links/SKILL.md`
````
Files in this skill
- SKILL.md
- references/prompt.md
- references/skill-file.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.