Skill

tw

by peterhajas

AI Summary

A command-line tool for managing TiddlyWiki files and tiddlers directly from the terminal. Useful for developers and power users who work with TiddlyWiki wikis and want CLI-based automation and batch operations.

Install

# Add to your project root as SKILL.md
curl -o SKILL.md "https://raw.githubusercontent.com/peterhajas/dotfiles/master/claude/.claude/skills/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

62/100

Standard Compliance35
Documentation Quality60
Usefulness55
Maintenance Signal100
Community Signal84
Scored Yesterday

GitHub Signals

Stars78
Forks6
Issues1
UpdatedYesterday
View on GitHub

Trust & Transparency

No License Detected

Review source code before installing

Verified Open Source

Hosted on GitHub — publicly auditable

Actively Maintained

Last commit Yesterday

78 stars

6 forks

My Fox Den

Community Rating

Works With

Claude Code