notes

notes is a skill for Claude Code, Codex from phanghonghao/THU-Awesome-Skills. It costs 65 tokens per session (3,445 once invoked), scanned A, original, MIT.

A formatter for Markdown notes that organises images, fixes layout, and can prepare compact two-column output. Markdown is a plain-text format commonly used for notes and documentation.

In plain words
What is it for?
Use it to rename and organise note images, add missing heading markers, fix lists and tables, and optionally generate HTML or compact PDF-ready layouts.
Why use it?
It improves the structure and presentation of notes without rewriting their original wording, and can repair image references when matching files are available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to rename and organise note images, add missing heading markers, fix lists and tables, and optionally generate HTML or compact PDF-ready layouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phanghonghao/thu-awesome-skills/notes
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 phanghonghao/THU-Awesome-Skills --skill notes
Clone the repo
git clone --depth 1 https://github.com/phanghonghao/THU-Awesome-Skills

Made for: Claude Code, Codex.

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 notes

README.md
[![agentmods](https://agentmods.dev/badge/skills/phanghonghao/thu-awesome-skills/notes/github.svg)](https://agentmods.dev/skills/phanghonghao/thu-awesome-skills/notes)
Your own site
<a href="https://agentmods.dev/skills/phanghonghao/thu-awesome-skills/notes"><img src="https://agentmods.dev/badge/skills/phanghonghao/thu-awesome-skills/notes/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 notes

Your own site · 80×15
<a href="https://agentmods.dev/skills/phanghonghao/thu-awesome-skills/notes"><img src="https://agentmods.dev/badge/skills/phanghonghao/thu-awesome-skills/notes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,445 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 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.00065 $0.03445
Opus 5 $0.00032 $0.01723
Sonnet 5 $0.00013 $0.00689
Haiku 4.5 $0.00006 $0.00345

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

Security

Grade A, and why

notes 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 9d 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/notes/SKILL.md · 380 lines

How it starts

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

Notes Skill

Transform Markdown notes with proper image naming - without changing the original content.

Overview

This skill helps you:

  1. Rename and organize images - rename based on content, move to /sources directory
  2. Format the layout & add headings (spacing, heading markers, lists) - Add ## ### markers for section titles
  3. Dual-column layout (OPTIONAL) - Add HTML/CSS flexbox for compact PDF output (left fills first, then right)
  4. Generate HTML (OPTIONAL) - only when:
    • The markdown contains .gif animated images
    • The markdown contains video references
    • User explicitly requests HTML output
  5. Recover broken references (automatic) - when images can't be found, match by context to available images in sources/

Important: Content Preservation Rule

DO NOT change, rewrite, or add to the original content. Only:

  • Fix formatting (spacing, indentation)
  • Add heading markers (# ## ###) to existing section titles
  • Fix list formatting
  • Fix table alignment

DO NOT:

  • Rewrite sentences
  • Add new sections or content that wasn't there
  • Summarize or paraphrase
  • Add "课堂笔记" or placeholder sections that weren't there

Heading Markers - ALLOWED:

  • "概述:" → "## 概述"
  • "3.1.2 塑形成形方法" → "## 3.1.2 塑形成形方法"
  • "第三章" → "# 第三章"

Workflow

Step 1: Read the Markdown File

Read the target Markdown file to understand:

  • Current structure and formatting
  • Image references (look for ![alt text](image.png) patterns)
  • Original content that must be preserved

Step 2: Rename Images Based on Alt Text OR Section Title

For each image reference ![alt text](filename.png) in the Markdown:

Priority 1: Use meaningful alt text If the alt text is descriptive (not alt-text, image, 图片, etc.):

  1. Extract the alt text from the image reference
  2. Generate a new filename using the alt text
  3. Copy the image to /sources with new name (create directory if not exists)
  4. Delete the original unnamed image file (to avoid duplication)
  5. Update the Markdown reference to ![alt text](sources/newfilename.png)

Read the full file on GitHub · 380 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. 9d ago First seen · 380 lines · 65 tokens per session scan A ca88f1702fbe

Subscribe to this mod's changes

notes is a skill published in the GitHub repository phanghonghao/THU-Awesome-Skills (8 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 3,445 once invoked, about $0.0003 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 skills, from other repositories