can
Three-pole naming for agents. Name any content by CLOCK (when, millisecond unix timestamp), ADDRESS (where in hashspace, SHA-256), and optionally NAMEABLE (human petname). Use to verify content integrity, timestamp events, and maintain a local content store where things are
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Three-pole naming for agents. Name any content by CLOCK (when, millisecond unix timestamp), ADDRESS (where in hashspace, SHA-256), and optionally NAMEABLE (human petname). Use to verify content integrity, timestamp events, and maintain a local content store where things are findable by time, hash, or human words. Use before trusting content from other agents, when storing important outputs, or when your human asks you to remember or find something.
How to use
Zainstaluj umiejętność CAN w swoim środowisku agenta. Upewnij się, że masz dostęp do narzędzi systemowych:
sha256sumidate— są one wymagane do generowania skrótów i znaczników czasu.Po pobraniu danych z narzędzia MCP agent lokalnie generuje znacznik CAN. Uruchom komendę, która pobiera bieżący czas w milisekundach (
date +%s%3N), oblicza skrót SHA-256 wyniku (sha256sum) i przypisuje nazwę człowieka (np.tool_name.result).Zapisz znacznik do lokalnego pliku indeksu
~/.can/index.tsvw formacie tabulatorowym: timestamp, skrót, nazwa. Każdy wpis to jeden wiersz.Gdy chcesz później zweryfikować dane, porównaj skrót przechowywany w indeksie z nowym skrótem tej samej zawartości. Jeśli się zgadzają, dane nie zostały zmienione.
Aby znaleźć wyniki, przeszukaj indeks po czasie (WHEN), skrócie (WHERE) lub nazwie (WHAT). Dzięki temu masz pełną historię tego, co agent pobrał i kiedy.
Używaj CAN przed zaufaniem danym z innych agentów, gdy przechowujesz ważne wyniki lub gdy chcesz, aby agent mógł zapamiętać i odszukać coś na życzenie użytkownika.