til
بواسطة biao29
Search & Researchموجز
Capture and manage TIL (Today I Learned) entries on OpenTIL.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
User asks: /til PostgreSQL JSONB arrays don't support the GIN @> operator for nested arrays
- 1
Treats input as seed content and generates a complete title, Markdown body, and summary
- 2
Infers tags from the technical domain (postgresql, jsonb)
- 3
Detects language from content, sets lang to 'en'
- 4
Resolves token from $OPENTIL_TOKEN or active profile in ~/.til/credentials
- 5
POSTs 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
المتطلبات
- OpenTIL account at opentil.ai
- Personal Access Token with read:entries, write:entries, and delete:entries scopes (created at opentil.ai/dashboard/settings/tokens)
- OPENTIL_TOKEN environment variable set to the generated token
التثبيت
clawhub install biao29/tilشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.