knowledge
/knowledge
Capture durable project or global knowledge into TerMinal's Knowledge Base. Use on /knowledge, when saving links/media/snippets/references, or when the user asks to remember useful context visually.
- Author
- trevormil ↗
- Repository
- terminal ↗
- Licence
- MIT
- Last repository change
- 01.09.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 1
- URLs in SKILL.md
- 3
No signals detected. Repository changed on 01.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
What it does and when to use it
Capture durable project or global knowledge into TerMinal's Knowledge Base. Use on /knowledge, when saving links/media/snippets/references, or when the user asks to remember useful context visually.
Original author description
Capture durable project or global knowledge into TerMinal's Knowledge Base. Use on /knowledge, when saving links/media/snippets/references, or when the user asks to remember useful context visually.
How it works
- Target Files
- Item Schema
- Workflow
- Rules
SKILL.md preview
---
name: knowledge
description: "Capture durable project or global knowledge into TerMinal's Knowledge Base. Use on /knowledge, when saving links/media/snippets/references, or when the user asks to remember useful context visually."
---
# /knowledge — Capture Knowledge Base Items
Save durable references into TerMinal's Knowledge Base so they show up in the app's Knowledge Base tab.
## Target Files
Default to the current repo:
- `$(tm-state-dir knowledge.json)` — the repo's sidecar (legacy in-repo `.TerMinal/knowledge.json` is still read) <!-- state-path-ok: read-only legacy mention -->
If the user explicitly asks for global knowledge, write:
- `~/.config/TerMinal/knowledge.json`
Treat a missing file as:
```json
{
"version": 1,
"categories": [
{
"id": "general",
"title": "General",
"description": "Links, notes, and references that do not need a dedicated category yet.",
"order": 0,
"createdAt": 0,
"updatedAt": 0
}
],
"items": []
}
```
## Item Schema
```json
{
"id": "kebab-case-id",
"categoryId": "general",
"kind": "markdown",
"title": "Short title",
"description": "Optional summary",
"content": "Markdown body for markdown items",
"url": "https://example.com",
"path": "/optional/local/path",
"thumbnailUrl": "https://example.com/card.png",
"faviconUrl": "https://example.com/favicon.ico",
"siteName": "Example",
"tags": ["tag"],
"createdAt": 0,
"updatedAt": 0
}
```
Allowed `kind` values:
- `markdown` for snippets, playbooks, findings, and compact notes.
- `link` for URLs, dashboards, issues, docs, repos, posts, or product pages.
- `image` for screenshots, diagrams, design refs, or remote/local images.
- `video` for YouTube, Vimeo, or direct videos.
- `file` for local files or remote documents.
## Workflow
1. Decide repo vs global scope. Prefer repo scope for project-specific context and global scope only for reusable cross-project knowledge.
2. Read the target JSON and preserve unknown fields.
3. Pick or create a category. Use `general` unless a clearer category already exists or the user requested one.
4. Upsert one or more focused items. Prefer updating an existing matching URL/path/title instead of duplicating it.
5. For links, include visual metadata when known: `thumbnailUrl`, `faviconUrl`, and `siteName`.
6. Use epoch milliseconds for `createdAt` and `updatedAt`.
7. Write pretty JSON with 2-space indentation.
## Rules
- Do not store secrets, private tokens, or pasted credentials.
- Keep descriptions short enough to scan in a visual card.
- For markdown items, keep `content` useful without needing surrounding chat history.
- For links, preserve the original URL and add thumbnails only when you can determine them confidently.
- Do not fabricate thumbnails or metadata. Leave fields blank if unknown.
- Do not replace the user's existing categories or items.
End with the path updated and the item titles captured.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · trevormil/terminal | 100 | MIT |
| evoila/meho | 100 | Apache-2.0 |
| ialameh/sift-coder | 100 | MIT |
| tomas-rampas/agentic-framework | 98 | Apache-2.0 |
| easeit-cz/vornik | 90 | AGPL-3.0 |
| envigoinnovations/subscriby-agentic-kit | 90 | MIT |
| guaardvark/guaardvark | 90 | MIT |
| sylvainHellin/agent-setup | 88 | MIT |
| xiant10/agent-pi | 86 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version 3d710ce2584d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100new-knowledge
Create or update TerMinal Knowledge Base entries in the repo sidecar knowledge.json or global ~/.config/TerMinal/knowledge.json. Use on /new-knowledge or when the user asks to save links, media, files, snippets, or durable references. - 86vault-capture
Use when durable knowledge comes up (a decision, finding, gotcha or research result), or the user asks to save, note or file something or a source in the knowledge vault. Skip transient task state and anything a repository's own docs should hold. - 100capture
Save durable knowledge to the vault. Use when the session produced facts worth keeping — research findings, decisions, how-something-works — or when the user says "remember this" / "capture this". - 100global-memory
Read and write the user's global memory in <config>/memory/, the cross-project counterpart to per-project auto memory. Use before saving any memory, to decide whether it is global or project-scoped; when a global index line looks relevant and you need the full file; and when the… - 100knowledge-capture
Use when a substantial task finishes, when the user corrects the agent or states a preference, when a non-obvious cause or project convention is discovered the hard way, or when the user asks the agent to remember or forget something - 100remember
Promote reusable project knowledge to the right memory surface. Activate when user says: remember this, save this, store this, remember, memorize, keep this for later.