Agent skill

Memo Write

by tangziwen in tangziwen/CubeMiniGame

将用户当前对话中的上下文内容写入到 .memo/ 目录下的 Markdown 文件. An agent skill from tangziwen/CubeMiniGame.

MITAuto-check passed

Install Memo Write

skills CLI
$ npx skills add tangziwen/CubeMiniGame --skill memo-write -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tangziwen/CubeMiniGame memo-write --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tangziwen/CubeMiniGame.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/memo-write .claude/skills/memo-write && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memo-write
GitHub stars
359
Token cost
~374 tokens
SKILL.md length
83 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

将用户当前对话中的上下文内容写入到 .memo/ 目录下的 Markdown 文件. An agent skill from tangziwen/CubeMiniGame.

  • Works in 5 steps: 提取内容:默认记录用户当前说的话(或上下文中的关键信息)。 → 确定文件名 → 组装内容 → …
  • SKILL.md covers 目标, 工作流, 命名规则 and 示例, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Memo Write is an agent skill from tangziwen/CubeMiniGame. 将用户当前对话中的上下文内容写入到 .memo/ 目录下的 Markdown 文件。 默认记录用户说的话,除非用户另有说明。 文件名从内容中自动提取关键词,保持紧凑。

Its SKILL.md is about 370 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: HomeBrew C++ 3D Game Engine based on OpenGL & Vulkan. The licence is MIT.

Example prompts

  • “/memo-write”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 提取内容:默认记录用户当前说的话(或上下文中的关键信息)。
  2. 确定文件名
  3. 组装内容
  4. 写入文件:保存到 .memo/。
  5. 确认:向用户汇报保存的文件名和路径。

What it can do on your machine

Read from SKILL.md and the folder at commit 33b364c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memo Write loads about 374 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 83 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~374

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tangziwen/CubeMiniGame at commit 33b364c, republished under its MIT licence (© tangziwen). 83 words, ~374 tokens.

Download SKILL.mdSave it as .claude/skills/memo-write/SKILL.md (or your agent's skills folder).
name
memo-write
description
将用户当前对话中的上下文内容写入到 `.memo/` 目录下的 Markdown 文件。 默认记录用户说的话,除非用户另有说明。 文件名从内容中自动提取关键词,保持紧凑。
category
productivity
disable-model-invocation
true

memo-write

目标

将用户当前对话中的上下文内容(通常是用户说的话)保存到 .memo/ 目录下的 Markdown 文件中,用于后续回顾或继续解决问题。

工作流

  1. 提取内容:默认记录用户当前说的话(或上下文中的关键信息)。
    • 如果用户明确说“记录 XX”,则记录 XX。
    • 如果用户只是要求“记下来”而没有指定内容,记录整个当前对话上下文。
  2. 确定文件名:
    • 用户明确指定文件名(如“保存到 battle-system.md”)→ 直接使用。
    • 用户给出标题(如“标题:战斗系统”)→ 用标题转文件名(battle-system.md)。
    • 否则从内容中提取关键词 → 自动选取最核心、最紧凑的 2-3 个词作为文件名,例如:
      • 内容涉及“角色属性平衡” → char-balance.md
      • 内容涉及“游戏关卡设计” → level-design.md
      • 内容涉及“AI 行为树” → ai-behavior.md
  3. 组装内容:
    • 不需要复杂的 YAML frontmatter。
    • 直接写入用户的内容,保持简洁。
    • 可选:在开头加一行简短的标题(# 标题)帮助阅读。
  4. 写入文件:保存到 .memo/<filename>。
  5. 确认:向用户汇报保存的文件名和路径。

命名规则

  • 从内容中提取最核心、最具辨识度的关键词,紧凑简洁。
  • 文件名只保留字母、数字、连字符 -、下划线 _,空格替换为 -。
  • 优先用英文单词(如果内容是中文且可用英文概括,用英文;否则用拼音或中文转义)。
  • 长度控制在 20 字符以内,避免冗长。
  • 不添加日期前缀或后缀,文件名本身要能说明内容。

示例

示例 1:未指定标题,从内容提取关键词

用户:我想把刚才说的战斗系统的角色属性方案记下来,包括 HP 和攻击力的平衡公式 → 文件名:battle-char-balance.md 或 char-balance.md → 内容:

markdown
# 角色属性平衡方案

HP 和攻击力的平衡公式:...
示例 2:用户明确指定文件名

用户:把这个存到 ui-layout.md,关于主界面布局的划分 → 文件名:ui-layout.md → 内容:用户说的主界面布局方案。

示例 3:用户给出标题

用户:记一下,标题:游戏存档机制 → 文件名:save-system.md 或 game-save.md → 内容:用户说的存档机制相关内容。

注意事项

  • .memo/ 目录不存在时自动创建。
  • 如果文件名已存在,先读取已有内容,让用户确认是追加还是覆盖,或换个文件名。
  • 不添加日期戳,文件名本身要能说明内容,方便后续查找。

© tangziwen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/memo-write of tangziwen/CubeMiniGame.

Open the folder on GitHubat commit 33b364c

Compare with similar skills

Memo Write next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memo Write compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memo Write this skilltangziwen/CubeMiniGame359—~374Automated safety check: PassMIT
Memoanthropics/claude-for-legal9.6k3 repos~2.5kAutomated safety check: PassApache-2.0
You Might Not Need A Memosimstudioai/sim30k—~657Automated safety check: PassApache-2.0
Investigation Memoanthropics/claude-for-legal9.6k2 repos~288Automated safety check: PassApache-2.0
Deal Memo DraftingNateBJones-Projects/OB14.7k—~963Automated safety check: PassCustom licence
MemOS Memory Search GuideMemTensor/MemOS12k—~3.5kAutomated safety check: WarnApache-2.0

Similar skills

  • Memo

    anthropics/claude-for-legal

    Official

    IRAC-scaffolded case analysis memo with research gaps flagged — the scaffold, not the analysis.

    9.6k GitHub starsUsed in 3 repos~2.5k tokens
    DevelopmentAuto-check passed
  • Analyze and fix useMemo/React.memo anti-patterns in your code

    30k GitHub stars~657 tokensUpdated today
    Auto-check passed
  • Investigation Memo

    anthropics/claude-for-legal

    Official

    Draft or update the privileged investigation memo from the investigation log.

    9.6k GitHub starsUsed in 2 repos~288 tokens
    Auto-check passed
  • Deal Memo Drafting

    NateBJones-Projects/OB1

    Investor-first workflow for drafting a structured deal memo, IC memo, partnership memo, or acquisition-style brief from existing diligence materials.

    4.7k GitHub stars~963 tokensUpdated yesterday
    Auto-check passed
  • Explains when to call MemOS's own memory tools to search past conversations, after the automatic per-turn recall hook comes up empty.

    12k GitHub stars~3.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check: warnings
  • Strategy Memo

    mohitagw15856/pm-claude-skills

    Write a strategy memo that commits to a bet and says what you won't do.

    1.4k GitHub stars~917 tokensUpdated today
    Auto-check passed

More from tangziwen/CubeMiniGame

All 12 skills in this repo
  • Cp Plan

    tangziwen/CubeMiniGame

    Create or update a CodePlan design.md from clarified requirements, repository observations, constraints, and architecture intent.

    359 GitHub stars~928 tokensUpdated 20 days ago
    Auto-check passed
  • Build Project

    tangziwen/CubeMiniGame

    Build the project using the CMake presets defined for this repository.

    359 GitHub stars~407 tokensUpdated 20 days ago
    Auto-check passed
  • Cp Apply

    tangziwen/CubeMiniGame

    Apply exactly one CodePlan step to the repository, with preflight idempotency checks and progress.md updates.

    359 GitHub stars~566 tokensUpdated 20 days ago
    Auto-check passed
  • Cp Explore

    tangziwen/CubeMiniGame

    Explore and clarify a prospective CodePlan before writing design.md.

    359 GitHub stars~535 tokensUpdated 20 days ago
    Auto-check passed
  • Cp Refine

    tangziwen/CubeMiniGame

    Refine a CodePlan design.md into precise step1.md through stepX.md files and progress.md.

    359 GitHub stars~512 tokensUpdated 20 days ago
    Auto-check passed
  • Cp Review

    tangziwen/CubeMiniGame

    Review CodePlan documents, including explored requirements, design.md, progress.md, and step files.

    359 GitHub stars~475 tokensUpdated 20 days ago
    Auto-check passed

Questions about Memo Write

What does Memo Write do?

将用户当前对话中的上下文内容写入到 .memo/ 目录下的 Markdown 文件. An agent skill from tangziwen/CubeMiniGame. Memo Write is an agent skill from tangziwen/CubeMiniGame.

How do I install Memo Write in Claude Code?

Run `npx skills add tangziwen/CubeMiniGame --skill memo-write -a claude-code`. Or copy the skill folder (.agents/skills/memo-write in tangziwen/CubeMiniGame) into .claude/skills/memo-write in your project. Claude Code loads it when a task matches its description.

How do I install Memo Write in Codex?

Run `npx skills add tangziwen/CubeMiniGame --skill memo-write -a codex`. Or copy the skill folder (.agents/skills/memo-write in tangziwen/CubeMiniGame) into .agents/skills/memo-write in your project. Codex loads it when a task matches its description.

Can I use Memo Write in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tangziwen/CubeMiniGame --skill memo-write -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memo-write, .gemini/skills/memo-write, .github/skills/memo-write and .opencode/skills/memo-write in your project.

What does Memo Write need to run?

SKILL.md names no scripts, command-line tools or credentials: Memo Write is instructions for the agent only.

Does Memo Write access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Memo Write safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Memo Write use?

Memo Write is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Memo Write use?

About 374 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memo Write?

Skills that share tags, products or a category with Memo Write: Memo (anthropics/claude-for-legal, 9.6k stars), You Might Not Need A Memo (simstudioai/sim, 30k stars), Investigation Memo (anthropics/claude-for-legal, 9.6k stars) and Deal Memo Drafting (NateBJones-Projects/OB1, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memo Write?

tangziwen (a GitHub user) maintains it in tangziwen/CubeMiniGame, which has 359 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on September 19, 2026.

Source: tangziwen/CubeMiniGame on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.