Skill

tw

by majiayu000

AI Summary

A Python-based CLI tool for managing TiddlyWiki single-file wikis, enabling developers to read, write, and manipulate tiddlers from the command line. Useful for automation, scripting, and bulk operations on TiddlyWiki files.

Install

# Add to your project root as SKILL.md
curl -o SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/tw/SKILL.md"

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

Quality Score

C

Acceptable

69/100

Standard Compliance45
Documentation Quality60
Usefulness72
Maintenance Signal100
Community Signal92
Scored Yesterday

GitHub Signals

Stars101
Forks15
Issues1
UpdatedToday
View on GitHub

Trust & Transparency

Open Source — MIT

Source code publicly auditable

Verified Open Source

Hosted on GitHub — publicly auditable

Actively Maintained

Last commit Today

101 stars — Growing Community

15 forks

My Fox Den

Community Rating

Works With

Claude Code