Forge Fate
Today I Learned

2026-10-13 Claude Code Mods and Making a Korean Version of pinboard

9 min read

When I first encountered Claude Code mods, I looked at the concept and put it aside. Later, while browsing community mods, I installed and tried pinboard.

I liked having decisions and todos pinned beside the conversation. But while I worked in Korean, the board's text was in English. When I completed a todo, its text disappeared and only a completed-item count remained.

I copied the original and modified it under the name pinboard-ko. I changed the interface and item text to Korean and kept some completed todos visible.

This article records the mod structure I read and the changes I actually made.

Environment at the time

I installed and modified pinboard on Windows with Claude Code 2.1.295. I checked the API explanation against the built-in mod-authoring documentation in the same build.

The code below consists of excerpts explaining that work. This article's record does not identify the original pinboard commit, so it should not be assumed to match the repository's current version exactly.

1. What a mod can change

A mod is a plugin that handles events inside Claude Code to change its interface and behavior. Event handlers written in TypeScript or JavaScript can draw panes, register commands, or participate in tool calls. Official introduction to mods

When reading pinboard, I focused on three parts:

PartRole in pinboard
InterfaceA pane showing open decisions, todos, and links
Commands and toolsA command that opens the pane and a tool that updates the board
Event handlingAdding board contents to the prompt and collecting links from tool results

The basic hook form I examined was:

ts
on(event, matcher?, hook)

Hooks commonly use three arguments:

  • $: the interface to mod APIs such as UI, commands, and tools.
  • e: the current event's input.
  • next: a function that passes the event to the next processing stage.

For example, passing an unchanged input onward and receiving the result looks like this:

ts
on('tool.call', { tool: 'Bash' }, async ($, e, next) => {  const result = await next(e)  return result})

This fragment illustrates the hook flow. It is not a complete installable mod.

From a backend developer's perspective, a servlet filter or interceptor chain made it easier to read. Calling next(e) continues through other handlers and the default behavior; returning a result directly can take over handling of that event. Valid return values must be checked for each event. Official mod-authoring guide

Files I needed to read

The basic structure I examined was:

text
pinboard/├── .claude-plugin/│   └── plugin.json├── hooks/│   ├── hooks.json│   └── register.tsx└── types/    └── index.d.ts

plugin.json holds the plugin name and metadata, while hooks.json points to the module to execute. I read the actual behavior in register.tsx.

types/index.d.ts declares the type contract for values stored in $.state. Adding that file does not make state persistent. Type declarations and the lifetime of state are separate concerns.

2. Why I chose pinboard

pinboard keeps open decisions, todos, and created links in a pane so they remain visible as the conversation grows.

I used the unofficial awesome-claude-code-mods catalog to find community mods. At the time, pinboard's validation result showed no file, process, or network access, which made it a less daunting first candidate to try.

I installed only pinboard in user scope rather than installing several mods at once. Choosing it after reviewing static checks is different from verifying every aspect of its safety.

The main connections in the code I read were:

BehaviorHook
Register /pinboard and the update toolsession.start
Open the pane on commandcommand.run
Add the current board to the system promptprompt.compose
Update the board through the model's tool calltool.call
Request a correction when a question is not on the boardclassic.Stop
Collect links from tool resultstool.call
Draw the paneui.render

Questions and todos were handled differently.

If the response ended in a question but no open decision was on the board, the Stop hook requested a correction from the model. Todos, by contrast, were registered according to the model's judgment after reading usage rules in the tool description.

Both appear on the board, but the mechanisms encouraging their registration were not identical.

3. Two things I wanted to change

Two inconveniences stood out in use.

First, I was working in Korean while the pane and conversation messages were in English.

Second, completing todos left only a count like this:

text
✓ 3 done

I wanted to see the text of recently finished work for a while. The purpose was to see what I had completed in the current session rather than preserve a complete work history.

I set the scope as follows:

AreaChange
Fixed interface textTranslate pane titles, buttons, empty states, and summaries into Korean
Model-written itemsAdd tool-description instructions to write todos and decision items in Korean
Completed todosDisplay some item text as well as the count
Plugin identifiersRename to pinboard-ko to distinguish it from the original
State retentionKeep the existing session scope

4. Modify a copy, not the installation cache

Editing files in the installation cache risks having the changes overwritten by an update. I copied the source into a learning directory and edited that copy.

Changing only the visible title was not enough to distinguish it from the original. References to the plugin name also needed to agree.

The main change was:

diff
-const PANE = 'pinboard'-const TITLE = 'Pinboard'-const TOOL = 'mcp__pinboard__update'+const PANE = 'pinboard-ko'+const TITLE = '핀보드'+const TOOL = 'mcp__pinboard-ko__update'

I also changed the plugin name in the state atom:

diff
-const decisions = atom({ plugin: 'pinboard', key: 'decisions' } as const, [] as Decision[])+const decisions = atom({ plugin: 'pinboard-ko', key: 'decisions' } as const, [] as Decision[])

The code retains the actual Korean UI strings. 핀보드 is the Korean pane title.

I checked these locations together:

LocationNames to align
plugin.jsonPlugin name
Pane constantsPane ID and visible title
Tool nameThe TOOL constant and the name inside Stop-hook instructions
State declarationsThe atom's plugin value and the PluginState key
Command and prompt/pinboard-ko command and system-prompt section ID

In the API used then, the tool was registered as update, but its model-facing name included the plugin name. Renaming therefore affected tool calls and state references as well as visible labels.

I disabled the original pinboard and used the copy.

Conditions for local installation and reload

At the time, I registered a local marketplace for the modified copy, installed it, and applied edits with /reload-plugins.

The statement that “registering a local folder makes Claude read it directly” needs a condition. The current official documentation describes a local directory marketplace pointing to the plugin through a relative-path source. With that setup, edits take effect at the next session start or with /reload-plugins. This differs from a cached copy installed from a remote marketplace. Official local-editing guide

The directory names below illustrate that relationship; they do not reconstruct the actual path used in the original work.

text
pinboard-dev/├── .claude-plugin/│   └── marketplace.json└── plugins/    └── pinboard-ko/        ├── .claude-plugin/        │   └── plugin.json        ├── hooks/        └── types/

In this structure, the plugin entry in marketplace.json points to:

json
{  "name": "pinboard-ko",  "source": "./plugins/pinboard-ko"}

This JSON is one entry inside the plugins array, not the complete marketplace file.

Before following this approach, check how the marketplace root, plugin directory, and file being edited connect. Registering a marketplace and installing its plugin are also separate steps.

5. Translate the interface and model-written text separately

I first changed fixed interface strings:

  • Pane headings for pending decisions, todos, and links.
  • Messages shown when no items exist.
  • The clear button.
  • Summaries printed in the conversation.
  • GitHub link labels.

Translating those strings alone did not ensure that todo text would be Korean. The model writes those items; they are not fixed strings in the interface code.

I added this rule to the tool description:

ts
'Write every todo, decision and decide answer in Korean (keep code, commands, file paths and proper nouns as they are). Keep each one short, one line.',

It asks for Korean todo and decision text while retaining code, commands, file paths, and proper nouns.

I also translated the Stop hook's corrective message into Korean. I left the Pinboard now: ... summary added to the system prompt in English. It was a model-facing summary rather than interface text for a person, so changing it was outside the immediate purpose.

I did not run a comparison showing that English improves model performance. This was a choice to prioritize the changes needed for a readable Korean interface.

6. Keep the text of completed todos visible

The original collapsed completed items into a count:

tsx
{doneCount > 0 && (  <Text dimColor>{`  ✓ ${doneCount} done`}</Text>)}

The Korean version displays the text of some completed items:

tsx
{doneCount > DONE_SHOWN && (  <Text dimColor>    {`  ✓ 이전 ${doneCount - DONE_SHOWN}개 완료`}  </Text>)}{allTodos  .filter(t => t.isDone)  .slice(-DONE_SHOWN)  .map(t => item('✓', t.text, true))}

I limited the display with DONE_SHOWN = 8. Completed items appear dimmed below unfinished work; items beyond the display limit are collapsed into a count. The Korean label 이전 N개 완료 means that N earlier items are completed.

The important distinction is that the last eight array items are not necessarily the eight most recently completed items.

The code:

  1. Uses filter to select completed items.
  2. Takes the last eight items from that array.
  3. Displays the selected items.

There is no completion-time sort. The original maintained insertion order, so even an item completed later could fall outside the last eight if it was near the beginning of the array.

The 이전 N개 완료 label is not based on comparing completion timestamps either. It counts completed items outside the displayed range.

I did not implement a list ordered by completion time. This change only keeps some completed-item text from the existing array visible.

7. Verification results and the limits of the record

The recorded checks were:

CheckRecorded result
claude plugin validate --strictPassed
claude plugin testTen passed after adding one Korean-version test to the original tests
Actual useConfirmed that the Korean pane and completed-todo list appeared

When changing interface strings, I also changed existing test expectations.

The record preserved in this article does not let me enumerate every individual test name and assertion. Ten passing tests should therefore not be expanded into a claim that reloads, state resets, and every completed-item boundary condition were all automatically tested.

Automated test results and visual checks in use are also separate. The directly observed behavior recorded here is that the Korean pane and completed-item list appeared.

The code fragments explain the changes. This article does not provide a reproduction package containing a pinned upstream commit and the complete modified version, so the excerpts should not be treated as a complete patch ready to apply to the current upstream source.

8. Why I did not keep the board across sessions

pinboard stored its board data in $.state.

The state lifetime I summarized against the built-in documentation at the time was:

SituationBoard values in $.state
Code reload or /reload-pluginsRetained
/clear or /resumeReset to defaults
New sessionValues from the preceding session do not carry over

Ordinary module variables and $.state are different. Reloading a module initializes its ordinary variables again, while host-managed $.state can survive reloads.

The current official documentation explains the same distinction. Persistence across sessions needs storage such as $.store and logic to load saved values again. It also lists /branch as resetting $.state. Official state-retention documentation

The plugin name is also part of how state is separated. Renaming a plugin to pinboard-ko does not automatically carry over the original pinboard's board.

I considered carrying the board into the next session, but decided to keep it session-scoped.

If old todos follow every new session, rules for clearing them are needed too. I already kept longer-lived material in progress records or notes. Using pinboard to lay out the work currently underway matched my purpose better.

9. Check UI support together with the version

The actual working environment for this article was Claude Code 2.1.295 on Windows. It does not include firsthand execution on other surfaces.

Documentation update as of 2026-10-24

The current official documentation says the VS Code extension's chat panel can display mod UI. It requires extension version 2.1.299 or later, or 2.1.304 or later for sessions that do not fetch feature flags. Supported elements also differ.

“Mod UI does not appear in the VS Code chat panel” should therefore not be retained as a version-independent current fact. Official support by environment

This update does not mean I reran pinboard-ko in a newer environment. It distinguishes the original work record from support described in later documentation.

The changes were small, but fixed interface strings and model-written text needed separate treatment. Plugin names were connected to tools and state. I also had to choose how to show completed work and how long the board should last.

What I wanted was a session board that was comfortable to read in Korean and let me see work just completed, rather than an ever-growing task-management system. That is why I added Korean text and completed-item display while leaving state retention unchanged.

Report an error or share feedback

Open a draft with this article’s title and URL. Review the message and recipient before sending.

To: [email protected]

Open email draft

If no email app opens, copy these details into your usual email service.

Contact information