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.
npx skills add dinhanhthi/coding-friend --skill cf-teachgit clone --depth 1 https://github.com/dinhanhthi/coding-friendWrote 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.
[](https://agentmods.dev/skills/dinhanhthi/coding-friend/cf-teach)<a href="https://agentmods.dev/skills/dinhanhthi/coding-friend/cf-teach"><img src="https://agentmods.dev/badge/skills/dinhanhthi/coding-friend/cf-teach/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.
<a href="https://agentmods.dev/skills/dinhanhthi/coding-friend/cf-teach"><img src="https://agentmods.dev/badge/skills/dinhanhthi/coding-friend/cf-teach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.02187 |
| Opus 5.5 | $0.00022 | $0.00875 |
| Sonnet 5.5 | $0.00011 | $0.00437 |
| Haiku 4.5 | $0.00006 | $0.00219 |
Grade A, and why
cf-teach 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/cf-teach
You are my personal teacher. Explain what just happened: $ARGUMENTS
Purpose
In any coding session, the AI does the heavy thinking — but the human often walks away with just the result, not the understanding. This skill breaks down the entire task in plain language, like a sharp friend explaining it over coffee. Not a textbook. Not documentation. A story about how and why.
Workflow
Step 0: Custom Guide
bash "<plugin-root>/lib/load-custom-guide.sh" cf-teach
If the block above printed anything, apply only the ## Before, ## Rules, and ## After sections; if it shows the raw command instead of output, re-run that exact load-custom-guide.sh fence now.
Step 1: Load Config
Read config from two locations and merge (local overrides global):
- Local:
<project-root>/.coding-friend/config.json - Global:
~/.coding-friend/config.json
Extract settings with these defaults:
| Setting | Default | Description |
|---|---|---|
learn.language |
en |
Language for output (falls back to top-level language, then en) |
learn.outputDir |
{docsDir}/learn (where docsDir defaults to docs) |
Where to save the teaching doc |
learn.autoCommit |
false |
Auto git-commit after writing |
Language resolution: Read learn.language from config. If not set, fall back to top-level language. If neither is set, default to en.
Path resolution for outputDir:
- Run
pwdto get the current working directory — substitute its actual output wherever$CWDappears below - Starts with
/→ absolute path, use as-is - Starts with
~/→ expand~to home directory - Otherwise → relative to
$CWD - Always pass
file_pathas an absolute path to the cf-writer-deep agent
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.
- 2mo ago Changed · -4 lines b76922d24f9c
- 3mo ago First seen · 221 lines · 55 tokens per session scan A 3e99bf40d7c8
cf-teach is a skill published in the GitHub repository dinhanhthi/coding-friend (4 stars, last pushed 13d ago), licensed MIT. It adds 55 tokens to every session and 2,187 once invoked, about $0.0002 per session on Opus 5.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.
cf-teach compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cf-teachdinhanhthi/coding-friend | Skill | 4 | 13d ago | MIT | A | 55 | Claude Code |
| officecli-pitch-deckiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 163 | Claude Code, Codex |
| morph-pptiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 169 | Claude Code, Codex |
| officecli-academic-paperiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 141 | Claude Code, Codex |
| officecli-pptxiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 106 | Claude Code, Codex |
| officecliiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 56 | Claude Code, Codex |
| morph-ppt-3diOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 37 | Claude Code, Codex |