chore: rename skill to add-karpathy-llm-wiki
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
name: add-wiki
|
name: add-karpathy-llm-wiki
|
||||||
description: Add a persistent wiki knowledge base to a NanoClaw group. Based on Karpathy's LLM Wiki pattern. Triggers on "add wiki", "wiki", "knowledge base", "llm wiki".
|
description: Add a persistent wiki knowledge base to a NanoClaw group. Based on Karpathy's LLM Wiki pattern. Triggers on "add wiki", "wiki", "knowledge base", "llm wiki", "karpathy wiki".
|
||||||
---
|
---
|
||||||
|
|
||||||
# Add Wiki
|
# Add Karpathy LLM Wiki
|
||||||
|
|
||||||
Set up a persistent wiki knowledge base on NanoClaw, based on Karpathy's LLM Wiki pattern.
|
Set up a persistent wiki knowledge base on NanoClaw, based on Karpathy's LLM Wiki pattern.
|
||||||
|
|
||||||
@@ -149,15 +149,11 @@ function createSchema(database: Database.Database): void {
|
|||||||
|
|
||||||
// Add reply context columns if they don't exist (migration for existing DBs)
|
// Add reply context columns if they don't exist (migration for existing DBs)
|
||||||
try {
|
try {
|
||||||
database.exec(
|
database.exec(`ALTER TABLE messages ADD COLUMN reply_to_message_id TEXT`);
|
||||||
`ALTER TABLE messages ADD COLUMN reply_to_message_id TEXT`,
|
|
||||||
);
|
|
||||||
database.exec(
|
database.exec(
|
||||||
`ALTER TABLE messages ADD COLUMN reply_to_message_content TEXT`,
|
`ALTER TABLE messages ADD COLUMN reply_to_message_content TEXT`,
|
||||||
);
|
);
|
||||||
database.exec(
|
database.exec(`ALTER TABLE messages ADD COLUMN reply_to_sender_name TEXT`);
|
||||||
`ALTER TABLE messages ADD COLUMN reply_to_sender_name TEXT`,
|
|
||||||
);
|
|
||||||
} catch {
|
} catch {
|
||||||
/* columns already exist */
|
/* columns already exist */
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user