finfocus makefile.instructions.md

A set of project rules for writing and maintaining Makefiles, which automate commands such as building, testing, and cleaning a project.

In plain words
What is it for?
Use it when adding or reviewing Makefile targets, documenting commands, checking prerequisites, and organizing build or validation tasks.
Why use it?
It reduces inconsistent targets, unsafe shell commands, unclear variables, and build problems across operating systems.

Instructions file for GitHub Copilot

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.

agentmods
npx agentmods add instructions/rshade/finfocus/makefile
Clone the repo
git clone --depth 1 https://github.com/rshade/finfocus

Made for: GitHub Copilot.

Per session 284 This file is loaded in full into every session.
When invoked 284 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00284 $0.00284
Opus 5 $0.00142 $0.00142
Sonnet 5 $0.00057 $0.00057
Haiku 4.5 $0.00028 $0.00028

Measured yesterday against content hash 9411b9797b13, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

finfocus makefile.instructions.md 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 yesterday.

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.

.github/instructions/makefile.instructions.md · 59 lines

What it actually says

Makefile Instructions

Makefiles in this project follow specific conventions and safety practices.

Makefile Standards:

  • Use proper target dependencies
  • Include help targets and documentation
  • Use safe shell commands with proper error handling
  • Follow consistent naming conventions
  • Include clean and validation targets

Command Safety:

  • Use proper shell escaping and quoting
  • Handle command failures appropriately
  • Use set -e for strict error checking where appropriate
  • Validate command prerequisites
  • Use absolute paths when necessary

Variable Usage:

  • Define variables at the top of the file
  • Use consistent variable naming (UPPERCASE)
  • Document complex variable usage
  • Use conditional variable assignment where appropriate

Target Organization:

  • Group related targets logically
  • Include .PHONY declarations for non-file targets
  • Use standard target names (all, clean, test, etc.)
  • Document target purposes and usage

Cross-Platform Compatibility:

  • Handle different operating systems appropriately
  • Use portable shell commands
  • Account for different executable extensions
  • Test on multiple platforms when possible

Build Process:

  • Ensure reproducible builds
  • Include version information embedding
  • Use proper compiler flags
  • Validate build artifacts

CI/CD Integration:

  • Work with GitHub Actions workflows
  • Support automated builds and releases
  • Include validation steps
  • Generate appropriate artifacts
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. yesterday First seen · 59 lines · 284 tokens per session scan A 9411b9797b13

Subscribe to this mod's changes

finfocus makefile.instructions.md is an instructions file published in the GitHub repository rshade/finfocus (5 stars, last pushed 15d ago), licensed Apache-2.0. It adds 284 tokens to every session, about $0.0014 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 instructions, from other repositories

costory-finops-mcp-skills AGENTS.md

AGENTS.md instructions for costory-io/costory-finops-mcp-skills, covering agents.md — conventions for ai coding agents in this repo, layout, skill id mapping (costory mcp), when changing a skill and when adding a new skill.

costory-io/costory-finops-mcp-skills · 1,611 tokens

ai-pricing-hub-mcp CLAUDE.md

Claude Code instructions for OptimNow/ai-pricing-hub-mcp, covering claude.md - ai pricing hub mcp app, what this project does, architecture, data sources and the fallback chain and project structure.

OptimNow/ai-pricing-hub-mcp · 7,347 tokens

ai-pricing-hub-mcp AGENTS.md

AGENTS.md instructions for OptimNow/ai-pricing-hub-mcp: Before writing code, first explore the project structure, then invoke the chatgpt-app-builder skill for documentation.

OptimNow/ai-pricing-hub-mcp · 22 tokens

insideout-power AGENTS.md

Instructions for luthersystems/insideout-power, covering insideout — riley infrastructure agent, what riley can do for you, how to invoke riley, via remote mcp (preferred — use this first) and via agent skills.

luthersystems/insideout-power · 1,155 tokens

cloud-mcp-server CLAUDE.md

Claude Code instructions for alexei-led/cloud-mcp-server, covering aws mcp server development guide, build & test commands, architecture, server (server.py) and sandbox (sandbox.py).

alexei-led/cloud-mcp-server · 1,114 tokens

devopness AGENTS.md

Instructions for devopness/devopness, covering agents, core flow, shared constraints, monorepo structure and git workflow.

devopness/devopness · 570 tokens