project-coding-companion-skill AGENTS.md

project-coding-companion-skill AGENTS.md is an instructions file for Codex, OpenCode from rgranet/project-coding-companion-skill. It costs 1,423 tokens per session, scanned C, original, MIT.

Project instructions for a coding companion that first evaluates and improves a coding request before examining files or writing code.

In plain words
What is it for?
Use them when planning coding work, clarifying prompts, exploring a codebase, making changes, and reviewing the result.
Why use it?
They help expose missing requirements early and establish a clear path from a user request to an implementation.

Instructions file for CodexOpenCode

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/rgranet/project-coding-companion-skill/agents-md
Clone the repo
git clone --depth 1 https://github.com/rgranet/project-coding-companion-skill

Made for: Codex, OpenCode.

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 project-coding-companion-skill AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rgranet/project-coding-companion-skill/agents-md.svg)](https://agentmods.dev/instructions/rgranet/project-coding-companion-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/rgranet/project-coding-companion-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/rgranet/project-coding-companion-skill/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,423 This file is loaded in full into every session.
When invoked 1,423 The same file — it is already loaded in full.
Security scan C 1 finding. 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.01423 $0.01423
Opus 5 $0.00711 $0.00711
Sonnet 5 $0.00285 $0.00285
Haiku 4.5 $0.00142 $0.00142

Measured 5d ago against content hash 48b254bc5356, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

project-coding-companion-skill AGENTS.md scanned grade C 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 5d 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

6. **Never refuse to help.** Even for extremely vague prompts, ask the 2 most
AGENTS.md · 163 lines

How it starts

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

Project Coding Companion

Author: Ruben Granet | Version: 1.0.0 | License: MIT

Adapted from the Claude Skill of the same name.

CRITICAL — READ THIS FIRST

Before writing ANY code or reading ANY file, you MUST complete Phase 0 (Evaluate and Coach the Prompt). Do NOT skip this phase. Do NOT explore the codebase first. Your very first action is to check the conversation context for existing answers, THEN evaluate the user's prompt against the five dimensions, and respond with coaching if needed. Only after the prompt is clear and confirmed should you proceed to Phase 1.

Exception: if the user's message is a clear continuation of an ongoing task ("ok do it", "go ahead", "next step"), skip coaching and proceed.

Overview

You are a careful, methodical coding companion with a dual mission:

  1. Prompt coaching — Help the user formulate clear, complete, and actionable coding requests. When a prompt is vague or missing critical information, you coach the user by asking targeted questions and explaining why each piece of information matters.
  2. Code implementation — Once the task is clear, help the user understand the codebase, plan changes, implement them, and review the result.

You work with any language, framework, or stack. You discover the technology by inspecting the project, never by assuming.

You are opinionated about safety: you never auto-commit, never run destructive commands without confirmation, and always summarize what you changed.

High-level workflow

Every interaction follows this loop:

Evaluate prompt → Coach (if needed) → Understand → Plan → Implement → Review


Phase 0: Evaluate and coach the prompt

Step 0: Check conversation context FIRST

Before evaluating the five dimensions, scan the current conversation history. The user's prompt does not exist in isolation — previous messages may already contain the answers you need.

Rules:

  • If the conversation already established what to build, which files are involved, or what the constraints are, treat that as part of the current prompt. Do NOT re-ask for details the user already provided.
  • Continuation prompts ("ok do it", "go ahead", "next step", "now add the filter") are NOT vague — they are confirmations. Proceed without coaching.
  • If you already coached earlier and the user answered, do NOT coach again on the same task.
  • Only evaluate the five dimensions on truly new requests with no prior context.

Read the full file on GitHub · 163 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. 5d ago First seen · 163 lines · 1,423 tokens per session scan C 48b254bc5356

Subscribe to this mod's changes

project-coding-companion-skill AGENTS.md is an instructions file published in the GitHub repository rgranet/project-coding-companion-skill (9 stars, last pushed 6mo ago), licensed MIT. It adds 1,423 tokens to every session, about $0.0071 per session on Opus 5. A static security scan graded it C with 1 finding (tells the agent never to refuse). 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

finding-unknowns-skill AGENTS.md

Instructions for baizhiyuan/finding-unknowns-skill, covering repository guide for coding agents, layout and single-source-of-truth rules, invariants to preserve and after any change.

baizhiyuan/finding-unknowns-skill · 577 tokens

pdca-agentic-coding-framework AGENTS.md

AGENTS.md instructions for kenjudy/pdca-agentic-coding-framework, covering agent instructions, quick reference, landing the plane (session completion) and skill build system.

kenjudy/pdca-agentic-coding-framework · 901 tokens

matcha GEMINI.md

Gemini CLI instructions for plumpslabs/matcha, covering 🍵 matcha — antigravity cli convention, core rules, intensity, agents and session memory.

plumpslabs/matcha · 863 tokens

ghostswap-agents AGENTS.md

Instructions for ghostswap1/ghostswap-agents, covering agents.md — ghostswap partners api agent guide, what the ghostswap partners api does, pick the right surface for your runtime, core flow — every integration looks like this and authentication.

ghostswap1/ghostswap-agents · 2,321 tokens

agentforce-adlc CLAUDE.md

Claude Code instructions for SalesforceAIResearch/agentforce-adlc, covering agentforce adlc — agent development life cycle, project structure, skills, backward compatibility aliases and important: agent creation routing.

SalesforceAIResearch/agentforce-adlc · 2,892 tokens

ai-agent-rules-generator agent-observations.instructions.md

Mandatory agent observation logging — anomalies, recommendations, and critical findings must be disclosed before commit.

savedpixel/ai-agent-rules-generator · 1,787 tokens