
Description
Prompt engineering is an agent skill for writing and improving prompts. It applies when you write commands, hooks or skills for an agent, or prompts for sub-agents and any other language model call. It covers techniques for getting consistent, reliable output, starting with few-shot examples: two to five input and output pairs that show the behaviour you want, which work better than long rule lists for formatting and edge cases. The skill explains the trade-off that more examples improve accuracy but use more tokens, so the number should match the complexity of the task. It also covers optimising prompts for performance, reliability and controllability. The advice is general enough for any model, and it is written for people building agent tooling rather than for end users.…
Highlights
- Few-shot example design
- Guidance for commands, hooks and skills
- Prompts for sub-agents and LLM calls
- Trade-off between examples and token cost
- Prompt optimisation for reliability
Ratings & Reviews
No ratings yet
Be the first to rate prompt-engineering.
People also visit
prompt-engineering FAQ
What is the prompt-engineering skill for?
Writing and tuning prompts, including the prompts inside agent commands, hooks, skills and sub-agents.
How do I install it?
Run npx skills add https://github.com/neolabhq/context-engineering-kit --skill prompt-engineering.
How many examples should a prompt include?
The skill suggests two to five input and output pairs, adjusted to how complex the task is, since more examples cost more tokens.
Has the skill been security audited?
Yes. Gen Agent Trust Hub shows Pass, Socket shows Pass and Snyk shows Pass.
What are the best prompt-engineering alternatives?
Popular alternatives to prompt-engineering include workflow-skill-creator, customaize-agent and prompt-master. See all prompt-engineering alternatives





















