Przejdź do treści
Biblioteka skilli
Produktywność osobista · Research

thoughtbox:knowledge-query

/thoughtbox:knowledge-query

Wyszukuje w grafie wiedzy poprzednie ustalenia, sprawdza powiązania i zwraca syntezę, gdy trzeba coś przypomnieć.

Repozytorium
thoughtbox ↗
Licencja
MIT
Ostatnia zmiana repozytorium
10.07.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format15 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.07.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Wyszukuje w grafie wiedzy poprzednie ustalenia, sprawdza powiązania i zwraca syntezę, gdy trzeba coś przypomnieć.

Wyzwalacze z opisu

what do we know abouthave we seen this beforerecallprior decisions aboutknowledge graph

Argumenty

/thoughtbox:knowledge-query [topic or question to search for]
Oryginalny opis (EN)

Cross-session knowledge retrieval from the Thoughtbox knowledge graph. Searches entities, traverses relations, retrieves observations, and synthesizes findings from past sessions. Use when you need to recall prior decisions, check what's already known about a topic, find related insights, or build on past work. Triggers on "what do we know about", "have we seen this before", "recall", "prior decisions about", "knowledge graph", or when starting work that might have prior context.

Jak działa

  1. Workflow
  2. Entity Types and Relations
  3. Tips
Sekcje z nagłówków SKILL.md, w oryginale · 123 linii, 457 słów
Podgląd SKILL.md
---
name: thoughtbox:knowledge-query
description: Cross-session knowledge retrieval from the Thoughtbox knowledge graph. Searches entities, traverses relations, retrieves observations, and synthesizes findings from past sessions. Use when you need to recall prior decisions, check what's already known about a topic, find related insights, or build on past work. Triggers on "what do we know about", "have we seen this before", "recall", "prior decisions about", "knowledge graph", or when starting work that might have prior context.
user-invocable: true
argument-hint: "[topic or question to search for]"
---

# Thoughtbox Knowledge Query

The knowledge graph accumulates insights across sessions. This skill retrieves and synthesizes that accumulated knowledge so you don't rediscover what's already known.

## Workflow

### Phase 1: Search

Cast a wide net across both sessions and the knowledge graph:

```javascript
// Search sessions by keyword
async () => {
  const sessions = await tb.session.search("authentication", 10);
  return sessions;
}
```

```javascript
// Search entities by name pattern and type
async () => {
  const entities = await tb.knowledge.listEntities({
    name_pattern: "auth",
    types: ["Concept", "Insight"],
    limit: 20
  });
  return entities;
}
```

```javascript
// Get graph statistics for context
async () => tb.knowledge.stats()
```

### Phase 2: Traverse

For relevant entities, explore their neighborhood in the graph:

```javascript
async () => {
  return await tb.knowledge.queryGraph({
    start_entity_id: "entity-uuid-here",
    max_depth: 2,
    relation_types: ["BUILDS_ON", "DEPENDS_ON", "RELATES_TO"]
  });
}
// Returns: connected entities and relations within 2 hops
```

Check observations for temporal context:

```javascript
async () => {
  return await tb.knowledge.getEntity("entity-uuid-here");
  // Includes observations array with timestamps and content
}
```

### Phase 3: Retrieve Session Context (If Needed)

For deep dives, retrieve the full session that produced an insight. Use the subagent-summarize pattern to avoid context pollution:

```
Spawn a subagent with:
  "Retrieve and summarize Thoughtbox session [ID].
   Call: async () => tb.session.get('[ID]')
   Extract only information about [TOPIC].
   Return a 3-5 sentence summary. No raw thoughts."
```

This keeps the full session (~800 tokens) in the subagent's context and returns only ~80 tokens to yours. 10x context reduction.

### Phase 4: Synthesize

Combine findings from entities, relations, observations, and sessions into a coherent answer:

```
## Knowledge Query: "[topic]"

### Entities Found
- [Concept] "entity-name" — summary from properties
  - Observation (date): "..."
  - Related to: entity-B (BUILDS_ON), entity-C (DEPENDS_ON)

### Session Context
- Session "title" (date, N thoughts): [summary from subagent]

### Gaps
- No entities found for [sub-topic] — consider creating one
- Session from [date] may be outdated — verify current state
```

### Phase 5: Bridge New Knowledge (Optional)

If this query reveals connections not yet in the graph, create them:

```javascript
async () => {
  // New relation discovered during query
  await tb.knowledge.createRelation({
    from_id: "entity-a-uuid",
    to_id: "entity-b-uuid",
    relation_type: "RELATES_TO",
    properties: { discovered_via: "knowledge-query", context: "both relate to session management" }
  });
}
```

## Entity Types and Relations

**Types**: `Concept` (technical idea), `Insight` (learned truth), `Workflow` (process)

**Relations**: `BUILDS_ON` (extends), `DEPENDS_ON` (requires), `RELATES_TO` (connected)

## Tips

- Search broadly first, then narrow — entity names may not match your exact wording
- Check observation timestamps — old observations may be stale
- Use `types` filter when you know you're looking for a decision (Insight) vs a concept (Concept)
- If nothing is found, the gap itself is useful information — consider recording it

Wersje

RepozytoriumWynikLicencja
Ta strona · kastalien-research/thoughtbox90MIT
kastalien-research/thoughtbox90MIT

Migawka bazy z 13.11.2026 · wersja paczki 9fb82137f5a7 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90recall
    Wyszukuje decyzje, historię projektu i wcześniejsze badania w bazie wiedzy oraz grafie konfiguracji, gdy brakuje ich w kontekście.
  • 90thoughtbox:decision
    Porządkuje decyzje przez równoległe badanie hipotez i zapis w grafie wiedzy, gdy trzeba porównać opcje lub alternatywy.
  • 90thoughtbox:session-review
    Analizuje zakończone sesje rozumowania, wyciąga wzorce i błędy oraz zasila graf wiedzy wnioskami do dalszej poprawy.
  • 90memsy-recall
    Wyszukuje w poprzednich rozmowach przez memsy_search temat z pytania, gdy użytkownik pyta o wcześniejsze ustalenia lub dawną dyskusję.
  • 90recall
    Wyszukuje wspomnienia z sesji Claude Code w bieżącym projekcie, by przypomnieć decyzje, notatki i wcześniejsze rozmowy.
  • 95Cortex
    Obsługuje pamięć LifeOS, przywoływanie wcześniejszych sesji i zapis wniosków, także wyszukiwanie wiedzy i graf powiązań.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.