Logo Til

Til

Cộng đồng
jbdamask
til

Condense an AI session (or a single learning) into a very short, standardized TIL document — a concise title, one-line description, and a briefing of what was done, in Markdown by default or HTML on request. Use when the user says "TIL", "today I learned", or "write a TIL", or wants a short shareable write-up of something learned or done in a session.

Tổng quan

Nhà phát hànhjbdamask
Kho mãjohn-claude-skills
Tên kỹ năngtil
Sao
29
Bản fork
3
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được jbdamask công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Til trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/jbdamask/john-claude-skills/tree/main/plugins/john-skills/skills/til
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jbdamask/john-claude-skills.git /tmp/john-claude-skills
mkdir -p .claude/skills
cp -r /tmp/john-claude-skills/plugins/john-skills/skills/til .claude/skills/til
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Til trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Til ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Til không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Today I Learned (TIL)

Turn the current session — or one thing learned in it — into a document a person reads in under a minute and an AI agent can parse without guessing. The output is the deliverable; the making of it should take a minute or two.

Core principles

These govern every TIL. When a judgment call comes up, resolve it with the first principle that applies.

  1. One learning per TIL. A TIL captures exactly one insight. If the session produced two, write two TILs (confirm with the user first). A TIL that teaches two things teaches neither.
  2. The title sells the learning — clear first, then engaging. The reader must instantly know what it's about and why they'd care; then earn the click with a hook. Never ship your first draft of a title (see the title rules in the format section). Max 70 characters.
  3. Short as possible, but no shorter. Body of 100–200 words; 250 is the hard cap, excluding one code block or image. If it won't fit, the scope is wrong — narrow the learning, don't compress the prose into fragments.
  4. Show the receipt. One concrete artifact — a command, a code snippet, a diff, a diagram — teaches faster than a paragraph describing it. Include exactly one when it carries the learning; include none when it doesn't.
  5. Standard shape, always. Same frontmatter fields, same section order, every time. Humans skim on rhythm; agents parse on structure. Never rearrange or invent sections.
  6. Facts only. Everything in the TIL must come from the session or from the user. No invented numbers, no "typically", no padding a thin learning with background research. If the learning wasn't verified in the session, say so in one line.
  7. No fluff. Draft against the writing rules bundled in references/lint-rules.md: plain words, active voice, no AI-fingerprint vocabulary (delve, robust, leverage, seamless, game-changer…), no "Here's the thing", no mic-drop closers, no recap endings. Every sentence must inform.
  8. A TIL is safe to share by construction. TILs exist to be passed around — Slack, blogs, wikis — so treat every TIL as if it will be public. No secrets, credentials, PHI, or personal data ever appear in one, even when they appeared in the session. The workflow enforces this with a guardrail at the start and another at the end; both are mandatory.

The TIL format

A TIL is a Markdown file with YAML frontmatter and a fixed body shape.

markdown
---
title: <the learning as a claim, ≤70 chars>
description: <one sentence expanding the title — what and why it matters>
author: <name>
date: <YYYY-MM-DD>
---

# <title, repeated>

<the learning, as one to three short paragraphs — the symptom as the reader would hit it, the mechanism (the "because"), what you did about it, the one-level-up generalization when there's a real one, and a final clause or sentence for any caveat or unverified edge>

<optional: ONE code block, command, or image — the receipt>

Title rules

A TIL lives or dies on its title. A great one carries three elements in ≤70 characters: a specific claim (what happens, stated boldly), key terms (the searchable nouns — the technology, the behavior, the outcome), and when it fits, a hook (the surprising or contrary angle). Apply these rules, in priority order:

  1. Clear, not clever. The title alone must answer what this is about and why the reader should care. No riddles, no clichés, no wordplay that hides the subject.
  2. Specific, not generic. Never a topic label ("Monkey behavior", "Notes on caching") or a big abstraction ("Lessons from a debugging session"). Climb the specificity ladder until the title states the finding: "Monkey behavior" → "The effects of sugar on monkey behavior" → "Sugar stimulates tail-twitch behavior in Panamanian monkeys". The last one makes the claim and names the actors; that's the target.
  3. Load the key terms. The title doubles as the TIL's index entry — humans scan it in a feed and agents match queries against it. Name the actual technology and behavior; a title without its key terms is unfindable no matter how catchy.
  4. Speak to the reader. Use "you/your" when it fits naturally — "Why your Lambda retries twice" beats "Lambda retry behavior". Frame the learning as their problem, not your diary entry.
  5. Use the engaging shapes. "Why X happens", "How to X", "Stop doing X", "X doesn't work the way you think", or a claim with a number. Questions are fine if the body answers them.
  6. Hold back at most one thing. A curiosity gap (the mechanism, the fix) earns the click — but never at the cost of key terms or the claim, and never promising what the body doesn't deliver.
  7. Draft at least five candidates, then choose. First-draft titles are reliably the weakest. Write five or more, judge them against rules 1–6, pick the strongest. Don't show the rejects unless asked.

Description rules

The description is the second hook, read in previews and by agents deciding whether to fetch the full TIL. One sentence. It pays off or raises the stakes on what the title left open — the cost, the surprise, the fix — and never restates the title in different words.

Body rules

  • A TIL body is one to three short paragraphs plus an optional receipt. One is the default; break into a second or third only where the thought genuinely shifts — typically symptom-and-mechanism, then rule-and-generalization, then caveat. Never break mid-thought to fake rhythm, and never let a single paragraph become a wall the reader's eye slides off. No headers, no section labels, no bold lead-ins, no bullet lists — the internal order (symptom → mechanism → fix → generalization → caveat) is the structure, the prose carries it without signposts, and pieces that don't apply are simply absent.
  • The learning must contain a "because." A phenomenon alone ("day-old pagination tokens skip rows") is trivia; the mechanism ("because the token is a key snapshot, not a live cursor") is what lets the reader predict adjacent behavior. If you can't state the mechanism, say so plainly rather than implying you understand it.
  • Name the symptom in the reader's terms. Many readers arrive mid-problem, searching what they observe — an error message, missing rows, a doubled charge. Describe the observable behavior as they would encounter it, not as your session narrative. Findable beats autobiographical.
  • Generalize exactly one level up, when there's a real one. After the specific learning, one plain sentence naming the general class it belongs to (e.g. "any pagination token that encodes a position, not a snapshot, has this problem"). This is what makes the TIL useful to readers outside the specific technology. One level only, stated plainly — no strained analogies, no profundity. If the learning doesn't genuinely generalize, skip the sentence.
  • Canonical filename, for whenever a TIL is saved or exported: YYYY-MM-DD-<slug-of-title>.md.
  • Images: allowed but rare — a simple diagram (Mermaid or inline SVG) only when the learning is structural (a flow, a topology, a before/after) and the picture teaches faster than the sentences it replaces. Never decorative images.

Workflow

  1. Guardrail: flag sensitive material before drafting. Before harvesting, note what in the session must never reach the TIL: passwords, API keys, tokens, private keys, connection strings, .env contents; PHI or any patient/medical detail; SSNs, credit card numbers, dates of birth; customer or employee names and emails; internal hostnames, IPs, account IDs, and non-public URLs. If the learning itself involves one of these (e.g. a debugging session on an auth token), the TIL states the mechanism with placeholders (<API_KEY>, example.com, 123456789012) — the real value never appears, even partially.
  2. Get the date and author. Never assume the date — run date +%Y-%m-%d if a shell is available, otherwise take it from session context or ask. Author: git config user.name if available, else the user's name from session context, else ask once.
  3. Harvest the session. Identify the candidate learnings: what surprised you, what was debugged, what turned out to work differently than expected. A summary of activity ("we built X") is not a learning; the learning is the transferable insight ("X's API rejects Y unless Z").
    • If exactly one clear learning: proceed.
    • If several: list them in one line each and ask the user which to write (or "all", as separate TILs).
    • If the user handed you the learning directly (a topic, a pasted snippet), skip harvesting and use that.
  4. Draft to the format. Hold the core principles while writing — don't draft loose and trim later. Pick the one receipt worth including, or none.
  5. Lint. Read references/lint-rules.md (bundled with this skill) and check the draft against every rule; fix all hits, re-check once, then stop — max 2 passes. Then check the hard constraints: title ≤70 chars, body ≤250 words, one artifact max, all frontmatter fields present.
  6. Guardrail: security sweep before delivery. Reread the finished TIL — frontmatter, body, and especially the receipt (code blocks and commands are where secrets hide) — against the step-0 list. Check for high-entropy strings, anything shaped like a key or token (AKIA…, sk-…, ghp_…, eyJ…), email addresses, 9- and 16-digit numbers, and real hostnames or account IDs. Redact with placeholders, never with partial masking. If you're unsure whether something is sensitive, ask the user before delivering — don't guess in the shareable direction.
  7. Deliver in-session. This skill produces content, not files. Render the TIL in the requested output format (plain text by default — see Output formats below) in your final message. Don't write it to disk, and don't narrate the lint loop or the process.
    • If the user then asks to save it somewhere, send it to a connected app (Slack, a wiki, a blog), or publish it, do that with whatever tools the session has — those are follow-ups the user directs, not defaults. If they name a filesystem location, write it there as a one-off.

Output formats

The Markdown spec above is the TIL's canonical form — every output format is a rendering of that same content, never a rewrite. Compose and lint once, then render. The user picks the format ("as markdown", "as html", "tweet it"); with no preference stated, use plain text.

  • Plain text (default). No markup of any kind — it must paste cleanly anywhere. Title on the first line, Author · YYYY-MM-DD on the second, blank line, then the body paragraphs separated by blank lines. Indent the receipt by four spaces. No #, no **, no backticks.
  • Markdown. The canonical form: full YAML frontmatter and body, presented as a Markdown code block with the suggested filename (YYYY-MM-DD-<slug>.md).
  • HTML. Render using references/html-template.html — substitute the placeholders, keep the content identical.
  • Tweet. One line, 120 characters maximum — count them. Distill the claim plus the mechanism or the fix, whichever earns its characters; drop metadata, labels, and receipt entirely. All writing rules still apply: no hashtag salad, no clickbait, no fluff. If the learning can't survive at 120 characters, say which part you cut.

This skill does not persist or publish on its own. Users route TILs through their own connectors and storage; the standard format is what makes that hand-off trivial.

Example

markdown
---
title: Don't save your DynamoDB pagination token for tomorrow
description: Resuming a day-old scan silently skips or repeats rows — here's what bit us and the rule we adopted.
author: John Damask
date: 2026-08-11
---

# Don't save your DynamoDB pagination token for tomorrow

Rows went silently missing from our resumed DynamoDB listings because a `LastEvaluatedKey` is a snapshot of one item's key, not a live cursor — delete that item and resuming from it skips or repeats rows. We stopped persisting tokens across sessions and capped resume windows at one request cycle. Any pagination token that encodes a position rather than a snapshot has the same problem. This bit us on Scan; Query against a stable partition behaves better but we haven't verified it.

That's the target: readable in under a minute, one insight, one caveat, nothing wasted.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Til làm được gì?

Condense an AI session (or a single learning) into a very short, standardized TIL document — a concise title, one-line description, and a briefing of what was done, in Markdown by default or HTML on request. Use when the user says "TIL", "today I learned", or "write a TIL", or wants a short shareable write-up of something learned or done in a session.

Vì sao nên dùng Til trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Til là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Til trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jbdamask/john-claude-skills/tree/main/plugins/john-skills/skills/til. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Til?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Til với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Til với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Til có miễn phí không?

Có. Kỹ năng này được jbdamask phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇