creating-makefile

creating-makefile is a skill for Claude Code from qte77/claude-code-plugins. It costs 46 tokens per session (1,175 once invoked), scanned A, original, Apache-2.0.

A Makefile creation and review guide for project automation. A Makefile is a file of named commands for tasks such as setup, checking code, and running tests.

In plain words
What is it for?
It is for creating a new Makefile, reviewing an existing one, or adding project recipes after detecting the project's type.
Why use it?
It helps keep those commands consistent with the organisation's rules and catches problems with a Makefile.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the makefile-core plugin — 1 skill shipped together

Good fit It is for creating a new Makefile, reviewing an existing one, or adding project recipes after detecting the project's type.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qte77/claude-code-plugins/creating-makefile
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 qte77/claude-code-plugins --skill creating-makefile
Clone the repo
git clone --depth 1 https://github.com/qte77/claude-code-plugins

Made for: Claude Code.

Or install makefile-core, the plugin that ships this one along with the rest of its 1 skill.

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 creating-makefile

README.md
[![agentmods](https://agentmods.dev/badge/skills/qte77/claude-code-plugins/creating-makefile/github.svg)](https://agentmods.dev/skills/qte77/claude-code-plugins/creating-makefile)
Your own site
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/creating-makefile"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/creating-makefile/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 creating-makefile

Your own site · 80×15
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/creating-makefile"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/creating-makefile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,175 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00046 $0.01175
Opus 5.5 $0.00018 $0.00470
Sonnet 5.5 $0.00009 $0.00235
Haiku 4.5 $0.00005 $0.00118

Measured 8d ago against content hash 69002c7cf24e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

creating-makefile scanned grade A with 1 finding 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/lint-makefile.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Zero-sudo installs** — use `~/.local/bin` or `~/.local/share/<tool>`, never `sudo apt/dnf`

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

plugins/makefile-core/skills/creating-makefile/SKILL.md · 107 lines

How it starts

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

Creating Makefiles

Target: $ARGUMENTS

Creates or reviews a rigorous, consistent Makefile following org conventions.

References

  • Required structure + patterns: references/makefile-conventions.md
  • CI linter script: references/lint-makefile.sh
  • Language-specific recipe templates: references/scaffold-*.md

Required Structure (all project types)

Every Makefile must have these elements in order:

# Header comment describing the project
# Run `make` to see all available recipes.

# GNU Make version guard
ifeq ($(filter oneshell,$(.FEATURES)),)
$(error GNU Make >= 3.82 required (.ONESHELL). macOS ships 3.81 — install via: brew install make, then use gmake)
endif

.SILENT:
.ONESHELL:
.PHONY: \
    recipe_a recipe_b \
    help
.DEFAULT_GOAL := help

# -- config --
VERBOSE ?= 0
ifeq ($(VERBOSE),0)
  # quiet flags per tool
endif

Conventions

  • snake_case for all recipe names
  • ## description comment on every public recipe (for help output)
  • # MARK: SECTION to group related recipes
  • setup_* prefix for installation recipes (never bare install)
  • validate chains lint + test (when both exist)
  • Idempotent setup: command -v X >/dev/null || install X
  • No hardcoded paths — use variables at top of file
  • VERBOSE ?= 0 with conditional quiet flags per tool
  • Zero-sudo installs — use ~/.local/bin or ~/.local/share/<tool>, never sudo apt/dnf
  • export PATH=... inside recipes that invoke tools installed to a non-default prefix (e.g. user-local npm)

Approach

  1. Detect what kind of project this is — look at build files, dependency manifests, and source file types in the working directory. If $ARGUMENTS names a type, use that instead.
  2. Find a scaffold — list references/scaffold-*.md in this skill's directory. If one matches the detected project type, read it for language-specific recipe templates. If none matches, build recipes from first principles using the conventions above.
  3. Merge the scaffold's recipes with the required structure (version guard, .SILENT, .ONESHELL, .PHONY, help, config variables). The scaffold provides the MARK sections and recipe bodies; the required structure wraps them.
  4. Check if a Makefile already exists — if yes, review it against conventions and the scaffold. If no, create one from the merged template.
  5. Lint with references/lint-makefile.sh — fix any failures.
  6. Verify make help renders all recipes, make validate (or make lint) runs clean.

Read the full file on GitHub · 107 lines

Files

What ships with it

5 files 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. 8d ago Changed 69002c7cf24e
  2. 29d ago Changed · -1 lines d47dc1b492c8
  3. 3mo ago First seen · 108 lines · 46 tokens per session scan A 9ea0220947ee

Subscribe to this mod's changes

creating-makefile is a skill published in the GitHub repository qte77/claude-code-plugins (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 46 tokens to every session and 1,175 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

creating-makefile compared with skills from other repositories

creating-makefile next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
creating-makefileqte77/claude-code-pluginsSkill3yesterdayApache-2.0A46Claude Code
android-kotlin-composeand3r817/dot-claude-pluginsSkill22mo agoMITA84Claude Code
android-kotlin-coroutinesand3r817/dot-claude-pluginsSkill22mo agoMITA87Claude Code
codex-advisorand3r817/dot-claude-pluginsSkill22mo agoMITA85Claude Code
ast-grepand3r817/dot-claude-pluginsSkill22mo agoMITA75Claude Code
github-cliand3r817/dot-claude-pluginsSkill22mo agoMITA52Claude Code
android-analysisand3r817/dot-claude-pluginsSkill22mo agoMITB63Claude Code