Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Version 1.11.0 - Added support for multiple named OpenTIL profiles within `~/.til/credentials` (YAML format). - Introduced profile management subcommands: `/til auth switch`, `/til auth list`, `/til auth remove`, `/til auth rename`. - Automatic migration of pre-existing plain-text credentials to new YAML profile format. - When multiple profiles exist, result messages now display active account info for clarity. - Updated token resolution order and improved error messages/guidance for token issues.
What This Skill Does
Captures and manages TIL (Today I Learned) entries on OpenTIL from the CLI. Handles the full entry lifecycle: create, publish, edit, search, delete, and sync. Can also extract learning moments from the current conversation or proactively suggest captures during a session.
Keeps the capture workflow inside the CLI, eliminating context-switching to a browser or separate note-taking app when a learning moment occurs during development.
When to use it
- Saving a debugging insight to a personal knowledge base mid-session
- Extracting multiple learnings from a long coding conversation at once
- Batch-publishing TIL entries on a set of related topics
- Searching past entries by keyword before re-investigating a known issue
- Syncing locally saved drafts after reconnecting to the internet
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: /til PostgreSQL JSONB arrays don't support the GIN @> operator for nested arrays
- 1Treats input as seed content and generates a complete title, Markdown body, and summary
- 2Infers tags from the technical domain (postgresql, jsonb)
- 3Detects language from content, sets lang to 'en'
- 4Resolves token from $OPENTIL_TOKEN or active profile in ~/.til/credentials
- 5POSTs entry to /entries with published: true and displays the resulting URL
Published to OpenTIL with title 'PostgreSQL JSONB arrays do not support GIN @> for nested arrays' and a direct link to the entry
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.