prompt-engineer

prompt-engineer is a skill for Claude Code from furkangonel/cowrangler. It costs 23 tokens per session (879 once invoked), scanned A, original, MIT.

A prompt-writing guide for turning unclear requests into precise instructions for an AI language model. It covers the role, task, context, output format, limits, and examples an instruction may need.

In plain words
What is it for?
Improving prompts and system messages for tasks such as writing, analysis, classification, or other AI-generated work.
Why use it?
It helps explain why an AI response misses the mark and how to correct the specific weakness instead of guessing at changes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Improving prompts and system messages for tasks such as writing, analysis, classification, or other AI-generated work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/furkangonel/cowrangler/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.

Any agent
npx skills add furkangonel/cowrangler --skill prompt-engineer
Clone the repo
git clone --depth 1 https://github.com/furkangonel/cowrangler

Made for: Claude Code.

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 prompt-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/furkangonel/cowrangler/prompt-engineer/github.svg)](https://agentmods.dev/skills/furkangonel/cowrangler/prompt-engineer)
Your own site
<a href="https://agentmods.dev/skills/furkangonel/cowrangler/prompt-engineer"><img src="https://agentmods.dev/badge/skills/furkangonel/cowrangler/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 prompt-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/furkangonel/cowrangler/prompt-engineer"><img src="https://agentmods.dev/badge/skills/furkangonel/cowrangler/prompt-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 879 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.00023 $0.00879
Opus 5 $0.00012 $0.00439
Sonnet 5 $0.00005 $0.00176
Haiku 4.5 $0.00002 $0.00088

Measured 9d ago against content hash a841f5fda687, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

prompt-engineer 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 9d 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.

bundled_skills/prompt-engineer/SKILL.md · 94 lines

How it starts

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

Prompt Engineer Skill

Goal

Transform vague, incomplete, or underperforming prompts into precisely crafted instructions that reliably produce the intended output from an LLM.

Prompt Engineering Fundamentals

The Six Dimensions

Every strong prompt addresses:

  1. Role — Who is the model? What expertise does it bring?
  2. Task — What exactly should it do? (verb + noun: "analyze", "write", "classify")
  3. Context — What background does the model need to succeed?
  4. Format — What should the output look like? (length, structure, examples)
  5. Constraints — What should it avoid? (tone, topics, length limits)
  6. Examples — Few-shot examples for consistency (optional but powerful)

Steps

1. Diagnose the existing prompt (if one exists)

If the user has a prompt that "doesn't work":

  • What output is it producing?
  • What output is desired?
  • Which of the six dimensions is missing or weak?

Name the specific problem before prescribing a fix.

Success criteria: You can say "this prompt fails because [specific reason]."

2. Gather requirements

Ask (or infer from context):

  • What model will this run on? (GPT-4, Claude, Gemini, Llama — each has different strengths)
  • Is this a system prompt, user prompt, or both?
  • Will it be used once or repeatedly at scale?
  • What's the most common failure mode the user wants to prevent?

Success criteria: You know the model, use case, and primary failure mode.

3. Write the prompt

Apply these techniques based on the use case:

For complex reasoning tasks:

  • Add "Think step by step before answering"
  • Use XML tags to separate sections: <context>, <task>, <format>
  • Include a "before you respond, check:" section

For consistent formatting:

  • Provide an exact output template with placeholders
  • Add a negative example: "Do NOT format it like this: [bad example]"

For role-playing/personas:

  • Define expertise: "You are a senior [role] with [X] years experience in [domain]"
  • Define behavioral constraints: "You communicate in [style]. You never [bad behavior]."

Read the full file on GitHub · 94 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. 9d ago First seen · 94 lines · 23 tokens per session scan A a841f5fda687

Subscribe to this mod's changes

prompt-engineer is a skill published in the GitHub repository furkangonel/cowrangler (2 stars, last pushed 2d ago), licensed MIT. It adds 23 tokens to every session and 879 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

prompt-engineering-expert

Expert prompt engineering, custom instruction, system prompt, and agent instruction design. Use when Codex needs to review, generate, refactor, debug, optimize, document, or test AI prompts; design reusable prompt templates; create or improve system prompts, custom instructions, agent behavior guidelines, tool-use…

alecs5am/ralphy · 76 tokens

kent-prompt-development

Develop Kent’s model-facing instructions. Use when editing Kent system or developer prompts, tool definitions and outputs, compaction or workflow reminders, or prompt assembly.

respawn-llc/kent · 36 tokens

dspy

DSPy: declarative LM programs, auto-optimize prompts, RAG.

StarryCod/cogitum · 19 tokens

v4-best-practices

Use when working with deepseek-v4-pro or deepseek-v4-flash in thinking mode on multi-step or plan-driven tasks. Provides rules to prevent stale references, unverified plan assumptions, and vague plan output.

Hmbown/CodeWhale · 51 tokens

histolab

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

synthetic-sciences/openscience · 62 tokens

shap

Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining machine learning model predictions, computing feature importance, generating SHAP plots (waterfall, beeswarm, bar, scatter, force, heatmap), debugging models, analyzing model bias or fairness, comparing…

synthetic-sciences/openscience · 109 tokens