claude-4-7-prompt-strategies

claude-4-7-prompt-strategies is a skill for Claude Code from treylom/prompt-engineering-skills. It costs 100 tokens per session (457 once invoked), scanned A, original, no licence file.

A reference guide for writing prompts for Claude Opus 4.7 and earlier, where Claude is a family of AI models.

In plain words
What is it for?
Use it when composing prompts for Claude Opus 4.7 or an earlier Claude model.
Why use it?
It keeps older Claude-specific prompting guidance available when a task targets those model versions.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the prompt-engineering-skills plugin — 11 skills, 4 commands shipped together

Good fit Use it when composing prompts for Claude Opus 4.7 or an earlier Claude model.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/treylom/prompt-engineering-skills/claude-4.7-prompt-strategies
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 treylom/prompt-engineering-skills --skill claude-4.7-prompt-strategies
Clone the repo
git clone --depth 1 https://github.com/treylom/prompt-engineering-skills

Made for: Claude Code.

Or install prompt-engineering-skills, the plugin that ships this one along with the rest of its 11 skills, 4 commands.

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 claude-4-7-prompt-strategies

README.md
[![agentmods](https://agentmods.dev/badge/skills/treylom/prompt-engineering-skills/claude-4.7-prompt-strategies/github.svg)](https://agentmods.dev/skills/treylom/prompt-engineering-skills/claude-4.7-prompt-strategies)
Your own site
<a href="https://agentmods.dev/skills/treylom/prompt-engineering-skills/claude-4.7-prompt-strategies"><img src="https://agentmods.dev/badge/skills/treylom/prompt-engineering-skills/claude-4.7-prompt-strategies/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 claude-4-7-prompt-strategies

Your own site · 80×15
<a href="https://agentmods.dev/skills/treylom/prompt-engineering-skills/claude-4.7-prompt-strategies"><img src="https://agentmods.dev/badge/skills/treylom/prompt-engineering-skills/claude-4.7-prompt-strategies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 457 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 unknown 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.00100 $0.00457
Opus 5 $0.00050 $0.00229
Sonnet 5 $0.00020 $0.00091
Haiku 4.5 $0.00010 $0.00046

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

Security

Grade A, and why

claude-4-7-prompt-strategies 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 6d 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.

skills/claude-4.7-prompt-strategies/SKILL.md · 23 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed c501c170d89d
  2. 12d ago First seen · 23 lines · 100 tokens per session scan A 44e7576c74d6

Subscribe to this mod's changes

claude-4-7-prompt-strategies is a skill published in the GitHub repository treylom/prompt-engineering-skills (181 stars, last pushed 3d ago), with no licence file. It adds 100 tokens to every session and 457 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

model-aware-image-prompt-engineer

Model-aware image prompt engineering for any agent or image generation workflow. Use when writing, improving, translating, debugging, or evaluating prompts for OpenAI image models, Gemini Nano Banana, Midjourney, FLUX, Qwen-Image, Z-Image, Stable Diffusion, SDXL, Pony, Illustrious, NoobAI, Animagine, HunyuanImage…

Emily2040/nano-banana-image-skill · 210 tokens

nano-banana-image-skill

Model-aware image prompting for Nano Banana Pro and Nano Banana 2. Covers generation, editing, continuity, text-in-image, style routing, and structured JSON output.

Emily2040/nano-banana-image-skill · 40 tokens

prompt engineering

Use this skill when asked to create, refine, analyze, or optimize prompts for Large Language Models (LLMs). This skill ensures adherence to prompt engineering best practices and enforces a rigorous design workflow.

Jsebayhi/prompt-engineering-extension · 43 tokens

ai-engineering-toolkit

6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

guidance

Control LLM output with regex and grammars, guarantee valid JSON/XML/code generation, enforce structured formats, and build multi-step workflows with Guidance - Microsoft Research's constrained generation framework.

davila7/claude-code-templates · 38 tokens

gemini-api-dev

Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. Covers SDK usage and best…

google-gemini/gemini-skills · 73 tokens