Skip to content
Skill

tw

by majiayu000

AI Summary

A CLI tool for managing TiddlyWiki files directly from the command line, useful for developers and knowledge workers who work with single-file wiki systems and want programmatic access to tiddlers.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "tw" skill in my project.

Please run this command in my terminal:
# Install skill into your project (2 files)
mkdir -p .claude/skills/tw && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/tw/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/tw/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/tw/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/tw/metadata.json"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Command-line tool for managing TiddlyWiki files. Use when working with TiddlyWiki (.html) files, tiddlers, or when the user mentions TiddlyWiki operations.

Integration with Other Tools

• Pipe JSON to/from jq for processing • Use with nvim via $EDITOR for editing • Combine with shell scripts for batch operations • WebDAV server allows mounting as filesystem

Quick Reference

tw is a Python-based CLI for managing single-file TiddlyWiki wikis. Location: ~/dotfiles/tiddlywiki/bin/tw Basic syntax: `bash tw [<wiki_path>] <command> [args] `

Reading/Listing

• ls - List all tiddlers • cat <tiddler> - Display tiddler contents (cat format: title, tags, other fields, blank line, text) • json <tiddler> [...] - Output tiddler(s) as JSON (use --all for all tiddlers) • get <tiddler> <field> - Get a specific field value • filter <expression> - Evaluate TiddlyWiki filter expression

Writing/Editing

• init <dest_path> - Create a new empty wiki • touch <tiddler> [text] - Create or update a tiddler • set <tiddler> <field> <val> - Set a field value • edit <tiddler> - Edit tiddler in $EDITOR (opens interactive editor) • append <tiddler> [text] - Append text to tiddler • insert <json> - Insert/replace tiddler(s) from JSON • replace <content> - Insert/replace from cat format (reads from stdin) • rm <tiddler> - Remove a tiddler

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 29d ago
Active
Adoption100+ stars on GitHub
127 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars127
Forks24
Issues1
Updated29d ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code