0xkobold 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/.agents/skills/nextjs-best-practices/SKILL.md +208 -0
  2. package/.agents/skills/sql-optimization-patterns/SKILL.md +509 -0
  3. package/HEARTBEAT.md +45 -0
  4. package/README.md +197 -0
  5. package/USAGE.md +191 -0
  6. package/dist/package.json +77 -0
  7. package/dist/src/agent/pi-adapter.js +307 -0
  8. package/dist/src/agent/pi-adapter.js.map +1 -0
  9. package/dist/src/agent/tool-adapter.js +86 -0
  10. package/dist/src/agent/tool-adapter.js.map +1 -0
  11. package/dist/src/approval/queue.js +114 -0
  12. package/dist/src/approval/queue.js.map +1 -0
  13. package/dist/src/ascii-kobold.js +76 -0
  14. package/dist/src/ascii-kobold.js.map +1 -0
  15. package/dist/src/cli/client.js +217 -0
  16. package/dist/src/cli/client.js.map +1 -0
  17. package/dist/src/cli/commands/agent.js +272 -0
  18. package/dist/src/cli/commands/agent.js.map +1 -0
  19. package/dist/src/cli/commands/chat.js +234 -0
  20. package/dist/src/cli/commands/chat.js.map +1 -0
  21. package/dist/src/cli/commands/config.js +202 -0
  22. package/dist/src/cli/commands/config.js.map +1 -0
  23. package/dist/src/cli/commands/daemon.js +203 -0
  24. package/dist/src/cli/commands/daemon.js.map +1 -0
  25. package/dist/src/cli/commands/gateway.js +184 -0
  26. package/dist/src/cli/commands/gateway.js.map +1 -0
  27. package/dist/src/cli/commands/init.js +175 -0
  28. package/dist/src/cli/commands/init.js.map +1 -0
  29. package/dist/src/cli/commands/kobold.js +21 -0
  30. package/dist/src/cli/commands/kobold.js.map +1 -0
  31. package/dist/src/cli/commands/logs.js +27 -0
  32. package/dist/src/cli/commands/logs.js.map +1 -0
  33. package/dist/src/cli/commands/mode.js +121 -0
  34. package/dist/src/cli/commands/mode.js.map +1 -0
  35. package/dist/src/cli/commands/persona.js +261 -0
  36. package/dist/src/cli/commands/persona.js.map +1 -0
  37. package/dist/src/cli/commands/start.js +66 -0
  38. package/dist/src/cli/commands/start.js.map +1 -0
  39. package/dist/src/cli/commands/status.js +117 -0
  40. package/dist/src/cli/commands/status.js.map +1 -0
  41. package/dist/src/cli/commands/stop.js +27 -0
  42. package/dist/src/cli/commands/stop.js.map +1 -0
  43. package/dist/src/cli/commands/system.js +128 -0
  44. package/dist/src/cli/commands/system.js.map +1 -0
  45. package/dist/src/cli/commands/tui.js +103 -0
  46. package/dist/src/cli/commands/tui.js.map +1 -0
  47. package/dist/src/cli/commands/update.js +133 -0
  48. package/dist/src/cli/commands/update.js.map +1 -0
  49. package/dist/src/cli/extensions/discord.js +113 -0
  50. package/dist/src/cli/extensions/discord.js.map +1 -0
  51. package/dist/src/cli/extensions/env.js +91 -0
  52. package/dist/src/cli/extensions/env.js.map +1 -0
  53. package/dist/src/cli/extensions/heartbeat.js +78 -0
  54. package/dist/src/cli/extensions/heartbeat.js.map +1 -0
  55. package/dist/src/cli/index.js +24 -0
  56. package/dist/src/cli/index.js.map +1 -0
  57. package/dist/src/cli/program.js +70 -0
  58. package/dist/src/cli/program.js.map +1 -0
  59. package/dist/src/cli/repl.js +184 -0
  60. package/dist/src/cli/repl.js.map +1 -0
  61. package/dist/src/cli/shared/discord-service.js +102 -0
  62. package/dist/src/cli/shared/discord-service.js.map +1 -0
  63. package/dist/src/config/index.js +10 -0
  64. package/dist/src/config/index.js.map +1 -0
  65. package/dist/src/config/loader.js +401 -0
  66. package/dist/src/config/loader.js.map +1 -0
  67. package/dist/src/config/paths.js +84 -0
  68. package/dist/src/config/paths.js.map +1 -0
  69. package/dist/src/config/types.js +8 -0
  70. package/dist/src/config/types.js.map +1 -0
  71. package/dist/src/context-detector.js +60 -0
  72. package/dist/src/context-detector.js.map +1 -0
  73. package/dist/src/discord/index.js +376 -0
  74. package/dist/src/discord/index.js.map +1 -0
  75. package/dist/src/event-bus/index.js +97 -0
  76. package/dist/src/event-bus/index.js.map +1 -0
  77. package/dist/src/extensions/command-args.js +68 -0
  78. package/dist/src/extensions/command-args.js.map +1 -0
  79. package/dist/src/extensions/core/agent-registry-extension.js +541 -0
  80. package/dist/src/extensions/core/agent-registry-extension.js.map +1 -0
  81. package/dist/src/extensions/core/agent-worker.js +148 -0
  82. package/dist/src/extensions/core/agent-worker.js.map +1 -0
  83. package/dist/src/extensions/core/compaction-safeguard.js +154 -0
  84. package/dist/src/extensions/core/compaction-safeguard.js.map +1 -0
  85. package/dist/src/extensions/core/confirm-destructive.js +43 -0
  86. package/dist/src/extensions/core/confirm-destructive.js.map +1 -0
  87. package/dist/src/extensions/core/context-aware-extension.js +124 -0
  88. package/dist/src/extensions/core/context-aware-extension.js.map +1 -0
  89. package/dist/src/extensions/core/context-pruning/extension.js +124 -0
  90. package/dist/src/extensions/core/context-pruning/extension.js.map +1 -0
  91. package/dist/src/extensions/core/context-pruning/pruner.js +312 -0
  92. package/dist/src/extensions/core/context-pruning/pruner.js.map +1 -0
  93. package/dist/src/extensions/core/context-pruning/runtime.js +48 -0
  94. package/dist/src/extensions/core/context-pruning/runtime.js.map +1 -0
  95. package/dist/src/extensions/core/context-pruning/settings.js +105 -0
  96. package/dist/src/extensions/core/context-pruning/settings.js.map +1 -0
  97. package/dist/src/extensions/core/dirty-repo-guard.js +42 -0
  98. package/dist/src/extensions/core/dirty-repo-guard.js.map +1 -0
  99. package/dist/src/extensions/core/discord-channel-extension.js +205 -0
  100. package/dist/src/extensions/core/discord-channel-extension.js.map +1 -0
  101. package/dist/src/extensions/core/discord-extension.js +142 -0
  102. package/dist/src/extensions/core/discord-extension.js.map +1 -0
  103. package/dist/src/extensions/core/env-loader-extension.js +157 -0
  104. package/dist/src/extensions/core/env-loader-extension.js.map +1 -0
  105. package/dist/src/extensions/core/fileops-extension.js +699 -0
  106. package/dist/src/extensions/core/fileops-extension.js.map +1 -0
  107. package/dist/src/extensions/core/gateway-extension.js +730 -0
  108. package/dist/src/extensions/core/gateway-extension.js.map +1 -0
  109. package/dist/src/extensions/core/git-checkpoint.js +46 -0
  110. package/dist/src/extensions/core/git-checkpoint.js.map +1 -0
  111. package/dist/src/extensions/core/handoff-extension.js +206 -0
  112. package/dist/src/extensions/core/handoff-extension.js.map +1 -0
  113. package/dist/src/extensions/core/heartbeat-extension.js +373 -0
  114. package/dist/src/extensions/core/heartbeat-extension.js.map +1 -0
  115. package/dist/src/extensions/core/mcp-extension.js +413 -0
  116. package/dist/src/extensions/core/mcp-extension.js.map +1 -0
  117. package/dist/src/extensions/core/mode-manager-extension.js +562 -0
  118. package/dist/src/extensions/core/mode-manager-extension.js.map +1 -0
  119. package/dist/src/extensions/core/multi-channel-extension.js +435 -0
  120. package/dist/src/extensions/core/multi-channel-extension.js.map +1 -0
  121. package/dist/src/extensions/core/ollama-provider-extension.js +66 -0
  122. package/dist/src/extensions/core/ollama-provider-extension.js.map +1 -0
  123. package/dist/src/extensions/core/onboarding-extension.js +122 -0
  124. package/dist/src/extensions/core/onboarding-extension.js.map +1 -0
  125. package/dist/src/extensions/core/persona-loader-extension.js +139 -0
  126. package/dist/src/extensions/core/persona-loader-extension.js.map +1 -0
  127. package/dist/src/extensions/core/pi-notify-extension.js +70 -0
  128. package/dist/src/extensions/core/pi-notify-extension.js.map +1 -0
  129. package/dist/src/extensions/core/protected-paths.js +24 -0
  130. package/dist/src/extensions/core/protected-paths.js.map +1 -0
  131. package/dist/src/extensions/core/questionnaire-extension.js +242 -0
  132. package/dist/src/extensions/core/questionnaire-extension.js.map +1 -0
  133. package/dist/src/extensions/core/self-update-extension.js +181 -0
  134. package/dist/src/extensions/core/self-update-extension.js.map +1 -0
  135. package/dist/src/extensions/core/session-bridge-extension.js +78 -0
  136. package/dist/src/extensions/core/session-bridge-extension.js.map +1 -0
  137. package/dist/src/extensions/core/session-manager-extension.js +319 -0
  138. package/dist/src/extensions/core/session-manager-extension.js.map +1 -0
  139. package/dist/src/extensions/core/session-name-extension.js +88 -0
  140. package/dist/src/extensions/core/session-name-extension.js.map +1 -0
  141. package/dist/src/extensions/core/session-pruning-extension.js +480 -0
  142. package/dist/src/extensions/core/session-pruning-extension.js.map +1 -0
  143. package/dist/src/extensions/core/task-manager-extension.js +661 -0
  144. package/dist/src/extensions/core/task-manager-extension.js.map +1 -0
  145. package/dist/src/extensions/core/update-extension.js +438 -0
  146. package/dist/src/extensions/core/update-extension.js.map +1 -0
  147. package/dist/src/extensions/core/websearch-extension.js +463 -0
  148. package/dist/src/extensions/core/websearch-extension.js.map +1 -0
  149. package/dist/src/extensions/index.js +5 -0
  150. package/dist/src/extensions/index.js.map +1 -0
  151. package/dist/src/extensions/loader.js +80 -0
  152. package/dist/src/extensions/loader.js.map +1 -0
  153. package/dist/src/gateway/index.js +353 -0
  154. package/dist/src/gateway/index.js.map +1 -0
  155. package/dist/src/index.js +150 -0
  156. package/dist/src/index.js.map +1 -0
  157. package/dist/src/llm/anthropic.js +86 -0
  158. package/dist/src/llm/anthropic.js.map +1 -0
  159. package/dist/src/llm/index.js +9 -0
  160. package/dist/src/llm/index.js.map +1 -0
  161. package/dist/src/llm/ollama.js +113 -0
  162. package/dist/src/llm/ollama.js.map +1 -0
  163. package/dist/src/llm/router.js +145 -0
  164. package/dist/src/llm/router.js.map +1 -0
  165. package/dist/src/llm/types.js +7 -0
  166. package/dist/src/llm/types.js.map +1 -0
  167. package/dist/src/memory/index.js +5 -0
  168. package/dist/src/memory/index.js.map +1 -0
  169. package/dist/src/memory/store.js +91 -0
  170. package/dist/src/memory/store.js.map +1 -0
  171. package/dist/src/pi-config.js +80 -0
  172. package/dist/src/pi-config.js.map +1 -0
  173. package/dist/src/skills/builtin/file.js +184 -0
  174. package/dist/src/skills/builtin/file.js.map +1 -0
  175. package/dist/src/skills/builtin/shell.js +100 -0
  176. package/dist/src/skills/builtin/shell.js.map +1 -0
  177. package/dist/src/skills/builtin/subagent.js +62 -0
  178. package/dist/src/skills/builtin/subagent.js.map +1 -0
  179. package/dist/src/skills/hello.js +42 -0
  180. package/dist/src/skills/hello.js.map +1 -0
  181. package/dist/src/skills/index.js +11 -0
  182. package/dist/src/skills/index.js.map +1 -0
  183. package/dist/src/skills/loader.js +382 -0
  184. package/dist/src/skills/loader.js.map +1 -0
  185. package/dist/src/skills/types.js +8 -0
  186. package/dist/src/skills/types.js.map +1 -0
  187. package/dist/src/utils/working-dir.js +71 -0
  188. package/dist/src/utils/working-dir.js.map +1 -0
  189. package/package.json +77 -0
  190. package/skills/1password/SKILL.md +70 -0
  191. package/skills/1password/references/cli-examples.md +29 -0
  192. package/skills/1password/references/get-started.md +17 -0
  193. package/skills/apple-notes/SKILL.md +77 -0
  194. package/skills/apple-reminders/SKILL.md +118 -0
  195. package/skills/bear-notes/SKILL.md +107 -0
  196. package/skills/blogwatcher/SKILL.md +69 -0
  197. package/skills/blucli/SKILL.md +47 -0
  198. package/skills/bluebubbles/SKILL.md +131 -0
  199. package/skills/camsnap/SKILL.md +45 -0
  200. package/skills/canvas/SKILL.md +198 -0
  201. package/skills/clawhub/SKILL.md +77 -0
  202. package/skills/coding-agent/SKILL.md +284 -0
  203. package/skills/discord/SKILL.md +197 -0
  204. package/skills/eightctl/SKILL.md +50 -0
  205. package/skills/food-order/SKILL.md +48 -0
  206. package/skills/gemini/SKILL.md +43 -0
  207. package/skills/gh-issues/SKILL.md +865 -0
  208. package/skills/gifgrep/SKILL.md +79 -0
  209. package/skills/github/SKILL.md +163 -0
  210. package/skills/gog/SKILL.md +116 -0
  211. package/skills/goplaces/SKILL.md +52 -0
  212. package/skills/healthcheck/SKILL.md +245 -0
  213. package/skills/himalaya/SKILL.md +257 -0
  214. package/skills/himalaya/references/configuration.md +184 -0
  215. package/skills/himalaya/references/message-composition.md +199 -0
  216. package/skills/imsg/SKILL.md +122 -0
  217. package/skills/mcporter/SKILL.md +61 -0
  218. package/skills/model-usage/SKILL.md +69 -0
  219. package/skills/model-usage/references/codexbar-cli.md +33 -0
  220. package/skills/model-usage/scripts/model_usage.py +310 -0
  221. package/skills/nano-banana-pro/SKILL.md +58 -0
  222. package/skills/nano-banana-pro/scripts/generate_image.py +184 -0
  223. package/skills/nano-pdf/SKILL.md +38 -0
  224. package/skills/notion/SKILL.md +172 -0
  225. package/skills/obsidian/SKILL.md +81 -0
  226. package/skills/openai-image-gen/SKILL.md +89 -0
  227. package/skills/openai-image-gen/scripts/gen.py +240 -0
  228. package/skills/openai-whisper/SKILL.md +38 -0
  229. package/skills/openai-whisper-api/SKILL.md +52 -0
  230. package/skills/openai-whisper-api/scripts/transcribe.sh +85 -0
  231. package/skills/openhue/SKILL.md +112 -0
  232. package/skills/oracle/SKILL.md +125 -0
  233. package/skills/ordercli/SKILL.md +78 -0
  234. package/skills/peekaboo/SKILL.md +190 -0
  235. package/skills/sag/SKILL.md +87 -0
  236. package/skills/session-logs/SKILL.md +115 -0
  237. package/skills/sherpa-onnx-tts/SKILL.md +103 -0
  238. package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +178 -0
  239. package/skills/skill-creator/SKILL.md +370 -0
  240. package/skills/skill-creator/license.txt +202 -0
  241. package/skills/skill-creator/scripts/init_skill.py +378 -0
  242. package/skills/skill-creator/scripts/package_skill.py +111 -0
  243. package/skills/skill-creator/scripts/quick_validate.py +101 -0
  244. package/skills/slack/SKILL.md +144 -0
  245. package/skills/songsee/SKILL.md +49 -0
  246. package/skills/sonoscli/SKILL.md +46 -0
  247. package/skills/spotify-player/SKILL.md +64 -0
  248. package/skills/summarize/SKILL.md +87 -0
  249. package/skills/things-mac/SKILL.md +86 -0
  250. package/skills/tmux/SKILL.md +153 -0
  251. package/skills/tmux/scripts/find-sessions.sh +112 -0
  252. package/skills/tmux/scripts/wait-for-text.sh +83 -0
  253. package/skills/trello/SKILL.md +95 -0
  254. package/skills/video-frames/SKILL.md +46 -0
  255. package/skills/video-frames/scripts/frame.sh +81 -0
  256. package/skills/voice-call/SKILL.md +45 -0
  257. package/skills/wacli/SKILL.md +72 -0
  258. package/skills/weather/SKILL.md +112 -0
@@ -0,0 +1,101 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ Quick validation script for skills - minimal version
4
+ """
5
+
6
+ import re
7
+ import sys
8
+ from pathlib import Path
9
+
10
+ import yaml
11
+
12
+ MAX_SKILL_NAME_LENGTH = 64
13
+
14
+
15
+ def validate_skill(skill_path):
16
+ """Basic validation of a skill"""
17
+ skill_path = Path(skill_path)
18
+
19
+ skill_md = skill_path / "SKILL.md"
20
+ if not skill_md.exists():
21
+ return False, "SKILL.md not found"
22
+
23
+ content = skill_md.read_text()
24
+ if not content.startswith("---"):
25
+ return False, "No YAML frontmatter found"
26
+
27
+ match = re.match(r"^---\n(.*?)\n---", content, re.DOTALL)
28
+ if not match:
29
+ return False, "Invalid frontmatter format"
30
+
31
+ frontmatter_text = match.group(1)
32
+
33
+ try:
34
+ frontmatter = yaml.safe_load(frontmatter_text)
35
+ if not isinstance(frontmatter, dict):
36
+ return False, "Frontmatter must be a YAML dictionary"
37
+ except yaml.YAMLError as e:
38
+ return False, f"Invalid YAML in frontmatter: {e}"
39
+
40
+ allowed_properties = {"name", "description", "license", "allowed-tools", "metadata"}
41
+
42
+ unexpected_keys = set(frontmatter.keys()) - allowed_properties
43
+ if unexpected_keys:
44
+ allowed = ", ".join(sorted(allowed_properties))
45
+ unexpected = ", ".join(sorted(unexpected_keys))
46
+ return (
47
+ False,
48
+ f"Unexpected key(s) in SKILL.md frontmatter: {unexpected}. Allowed properties are: {allowed}",
49
+ )
50
+
51
+ if "name" not in frontmatter:
52
+ return False, "Missing 'name' in frontmatter"
53
+ if "description" not in frontmatter:
54
+ return False, "Missing 'description' in frontmatter"
55
+
56
+ name = frontmatter.get("name", "")
57
+ if not isinstance(name, str):
58
+ return False, f"Name must be a string, got {type(name).__name__}"
59
+ name = name.strip()
60
+ if name:
61
+ if not re.match(r"^[a-z0-9-]+$", name):
62
+ return (
63
+ False,
64
+ f"Name '{name}' should be hyphen-case (lowercase letters, digits, and hyphens only)",
65
+ )
66
+ if name.startswith("-") or name.endswith("-") or "--" in name:
67
+ return (
68
+ False,
69
+ f"Name '{name}' cannot start/end with hyphen or contain consecutive hyphens",
70
+ )
71
+ if len(name) > MAX_SKILL_NAME_LENGTH:
72
+ return (
73
+ False,
74
+ f"Name is too long ({len(name)} characters). "
75
+ f"Maximum is {MAX_SKILL_NAME_LENGTH} characters.",
76
+ )
77
+
78
+ description = frontmatter.get("description", "")
79
+ if not isinstance(description, str):
80
+ return False, f"Description must be a string, got {type(description).__name__}"
81
+ description = description.strip()
82
+ if description:
83
+ if "<" in description or ">" in description:
84
+ return False, "Description cannot contain angle brackets (< or >)"
85
+ if len(description) > 1024:
86
+ return (
87
+ False,
88
+ f"Description is too long ({len(description)} characters). Maximum is 1024 characters.",
89
+ )
90
+
91
+ return True, "Skill is valid!"
92
+
93
+
94
+ if __name__ == "__main__":
95
+ if len(sys.argv) != 2:
96
+ print("Usage: python quick_validate.py <skill_directory>")
97
+ sys.exit(1)
98
+
99
+ valid, message = validate_skill(sys.argv[1])
100
+ print(message)
101
+ sys.exit(0 if valid else 1)
@@ -0,0 +1,144 @@
1
+ ---
2
+ name: slack
3
+ description: Use when you need to control Slack from Kobold via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
4
+ metadata: { "kobold": { "emoji": "💬", "requires": { "config": ["channels.slack"] } } }
5
+ ---
6
+
7
+ # Slack Actions
8
+
9
+ ## Overview
10
+
11
+ Use `slack` to react, manage pins, send/edit/delete messages, and fetch member info. The tool uses the bot token configured for Kobold.
12
+
13
+ ## Inputs to collect
14
+
15
+ - `channelId` and `messageId` (Slack message timestamp, e.g. `1712023032.1234`).
16
+ - For reactions, an `emoji` (Unicode or `:name:`).
17
+ - For message sends, a `to` target (`channel:<id>` or `user:<id>`) and `content`.
18
+
19
+ Message context lines include `slack message id` and `channel` fields you can reuse directly.
20
+
21
+ ## Actions
22
+
23
+ ### Action groups
24
+
25
+ | Action group | Default | Notes |
26
+ | ------------ | ------- | ---------------------- |
27
+ | reactions | enabled | React + list reactions |
28
+ | messages | enabled | Read/send/edit/delete |
29
+ | pins | enabled | Pin/unpin/list |
30
+ | memberInfo | enabled | Member info |
31
+ | emojiList | enabled | Custom emoji list |
32
+
33
+ ### React to a message
34
+
35
+ ```json
36
+ {
37
+ "action": "react",
38
+ "channelId": "C123",
39
+ "messageId": "1712023032.1234",
40
+ "emoji": "✅"
41
+ }
42
+ ```
43
+
44
+ ### List reactions
45
+
46
+ ```json
47
+ {
48
+ "action": "reactions",
49
+ "channelId": "C123",
50
+ "messageId": "1712023032.1234"
51
+ }
52
+ ```
53
+
54
+ ### Send a message
55
+
56
+ ```json
57
+ {
58
+ "action": "sendMessage",
59
+ "to": "channel:C123",
60
+ "content": "Hello from Kobold"
61
+ }
62
+ ```
63
+
64
+ ### Edit a message
65
+
66
+ ```json
67
+ {
68
+ "action": "editMessage",
69
+ "channelId": "C123",
70
+ "messageId": "1712023032.1234",
71
+ "content": "Updated text"
72
+ }
73
+ ```
74
+
75
+ ### Delete a message
76
+
77
+ ```json
78
+ {
79
+ "action": "deleteMessage",
80
+ "channelId": "C123",
81
+ "messageId": "1712023032.1234"
82
+ }
83
+ ```
84
+
85
+ ### Read recent messages
86
+
87
+ ```json
88
+ {
89
+ "action": "readMessages",
90
+ "channelId": "C123",
91
+ "limit": 20
92
+ }
93
+ ```
94
+
95
+ ### Pin a message
96
+
97
+ ```json
98
+ {
99
+ "action": "pinMessage",
100
+ "channelId": "C123",
101
+ "messageId": "1712023032.1234"
102
+ }
103
+ ```
104
+
105
+ ### Unpin a message
106
+
107
+ ```json
108
+ {
109
+ "action": "unpinMessage",
110
+ "channelId": "C123",
111
+ "messageId": "1712023032.1234"
112
+ }
113
+ ```
114
+
115
+ ### List pinned items
116
+
117
+ ```json
118
+ {
119
+ "action": "listPins",
120
+ "channelId": "C123"
121
+ }
122
+ ```
123
+
124
+ ### Member info
125
+
126
+ ```json
127
+ {
128
+ "action": "memberInfo",
129
+ "userId": "U123"
130
+ }
131
+ ```
132
+
133
+ ### Emoji list
134
+
135
+ ```json
136
+ {
137
+ "action": "emojiList"
138
+ }
139
+ ```
140
+
141
+ ## Ideas to try
142
+
143
+ - React with ✅ to mark completed tasks.
144
+ - Pin key decisions or weekly status updates.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: songsee
3
+ description: Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
4
+ homepage: https://github.com/steipete/songsee
5
+ metadata:
6
+ {
7
+ "kobold":
8
+ {
9
+ "emoji": "🌊",
10
+ "requires": { "bins": ["songsee"] },
11
+ "install":
12
+ [
13
+ {
14
+ "id": "brew",
15
+ "kind": "brew",
16
+ "formula": "steipete/tap/songsee",
17
+ "bins": ["songsee"],
18
+ "label": "Install songsee (brew)",
19
+ },
20
+ ],
21
+ },
22
+ }
23
+ ---
24
+
25
+ # songsee
26
+
27
+ Generate spectrograms + feature panels from audio.
28
+
29
+ Quick start
30
+
31
+ - Spectrogram: `songsee track.mp3`
32
+ - Multi-panel: `songsee track.mp3 --viz spectrogram,mel,chroma,hpss,selfsim,loudness,tempogram,mfcc,flux`
33
+ - Time slice: `songsee track.mp3 --start 12.5 --duration 8 -o slice.jpg`
34
+ - Stdin: `cat track.mp3 | songsee - --format png -o out.png`
35
+
36
+ Common flags
37
+
38
+ - `--viz` list (repeatable or comma-separated)
39
+ - `--style` palette (classic, magma, inferno, viridis, gray)
40
+ - `--width` / `--height` output size
41
+ - `--window` / `--hop` FFT settings
42
+ - `--min-freq` / `--max-freq` frequency range
43
+ - `--start` / `--duration` time slice
44
+ - `--format` jpg|png
45
+
46
+ Notes
47
+
48
+ - WAV/MP3 decode native; other formats use ffmpeg if available.
49
+ - Multiple `--viz` renders a grid.
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: sonoscli
3
+ description: Control Sonos speakers (discover/status/play/volume/group).
4
+ homepage: https://sonoscli.sh
5
+ metadata:
6
+ {
7
+ "kobold":
8
+ {
9
+ "emoji": "🔊",
10
+ "requires": { "bins": ["sonos"] },
11
+ "install":
12
+ [
13
+ {
14
+ "id": "go",
15
+ "kind": "go",
16
+ "module": "github.com/steipete/sonoscli/cmd/sonos@latest",
17
+ "bins": ["sonos"],
18
+ "label": "Install sonoscli (go)",
19
+ },
20
+ ],
21
+ },
22
+ }
23
+ ---
24
+
25
+ # Sonos CLI
26
+
27
+ Use `sonos` to control Sonos speakers on the local network.
28
+
29
+ Quick start
30
+
31
+ - `sonos discover`
32
+ - `sonos status --name "Kitchen"`
33
+ - `sonos play|pause|stop --name "Kitchen"`
34
+ - `sonos volume set 15 --name "Kitchen"`
35
+
36
+ Common tasks
37
+
38
+ - Grouping: `sonos group status|join|unjoin|party|solo`
39
+ - Favorites: `sonos favorites list|open`
40
+ - Queue: `sonos queue list|play|clear`
41
+ - Spotify search (via SMAPI): `sonos smapi search --service "Spotify" --category tracks "query"`
42
+
43
+ Notes
44
+
45
+ - If SSDP fails, specify `--ip <speaker-ip>`.
46
+ - Spotify Web API search is optional and requires `SPOTIFY_CLIENT_ID/SECRET`.
@@ -0,0 +1,64 @@
1
+ ---
2
+ name: spotify-player
3
+ description: Terminal Spotify playback/search via spogo (preferred) or spotify_player.
4
+ homepage: https://www.spotify.com
5
+ metadata:
6
+ {
7
+ "kobold":
8
+ {
9
+ "emoji": "🎵",
10
+ "requires": { "anyBins": ["spogo", "spotify_player"] },
11
+ "install":
12
+ [
13
+ {
14
+ "id": "brew",
15
+ "kind": "brew",
16
+ "formula": "spogo",
17
+ "tap": "steipete/tap",
18
+ "bins": ["spogo"],
19
+ "label": "Install spogo (brew)",
20
+ },
21
+ {
22
+ "id": "brew",
23
+ "kind": "brew",
24
+ "formula": "spotify_player",
25
+ "bins": ["spotify_player"],
26
+ "label": "Install spotify_player (brew)",
27
+ },
28
+ ],
29
+ },
30
+ }
31
+ ---
32
+
33
+ # spogo / spotify_player
34
+
35
+ Use `spogo` **(preferred)** for Spotify playback/search. Fall back to `spotify_player` if needed.
36
+
37
+ Requirements
38
+
39
+ - Spotify Premium account.
40
+ - Either `spogo` or `spotify_player` installed.
41
+
42
+ spogo setup
43
+
44
+ - Import cookies: `spogo auth import --browser chrome`
45
+
46
+ Common CLI commands
47
+
48
+ - Search: `spogo search track "query"`
49
+ - Playback: `spogo play|pause|next|prev`
50
+ - Devices: `spogo device list`, `spogo device set "<name|id>"`
51
+ - Status: `spogo status`
52
+
53
+ spotify_player commands (fallback)
54
+
55
+ - Search: `spotify_player search "query"`
56
+ - Playback: `spotify_player playback play|pause|next|previous`
57
+ - Connect device: `spotify_player connect`
58
+ - Like track: `spotify_player like`
59
+
60
+ Notes
61
+
62
+ - Config folder: `~/.config/spotify-player` (e.g., `app.toml`).
63
+ - For Spotify Connect integration, set a user `client_id` in config.
64
+ - TUI shortcuts are available via `?` in the app.
@@ -0,0 +1,87 @@
1
+ ---
2
+ name: summarize
3
+ description: Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
4
+ homepage: https://summarize.sh
5
+ metadata:
6
+ {
7
+ "kobold":
8
+ {
9
+ "emoji": "🧾",
10
+ "requires": { "bins": ["summarize"] },
11
+ "install":
12
+ [
13
+ {
14
+ "id": "brew",
15
+ "kind": "brew",
16
+ "formula": "steipete/tap/summarize",
17
+ "bins": ["summarize"],
18
+ "label": "Install summarize (brew)",
19
+ },
20
+ ],
21
+ },
22
+ }
23
+ ---
24
+
25
+ # Summarize
26
+
27
+ Fast CLI to summarize URLs, local files, and YouTube links.
28
+
29
+ ## When to use (trigger phrases)
30
+
31
+ Use this skill immediately when the user asks any of:
32
+
33
+ - “use summarize.sh”
34
+ - “what’s this link/video about?”
35
+ - “summarize this URL/article”
36
+ - “transcribe this YouTube/video” (best-effort transcript extraction; no `yt-dlp` needed)
37
+
38
+ ## Quick start
39
+
40
+ ```bash
41
+ summarize "https://example.com" --model google/gemini-3-flash-preview
42
+ summarize "/path/to/file.pdf" --model google/gemini-3-flash-preview
43
+ summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto
44
+ ```
45
+
46
+ ## YouTube: summary vs transcript
47
+
48
+ Best-effort transcript (URLs only):
49
+
50
+ ```bash
51
+ summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto --extract-only
52
+ ```
53
+
54
+ If the user asked for a transcript but it’s huge, return a tight summary first, then ask which section/time range to expand.
55
+
56
+ ## Model + keys
57
+
58
+ Set the API key for your chosen provider:
59
+
60
+ - OpenAI: `OPENAI_API_KEY`
61
+ - Anthropic: `ANTHROPIC_API_KEY`
62
+ - xAI: `XAI_API_KEY`
63
+ - Google: `GEMINI_API_KEY` (aliases: `GOOGLE_GENERATIVE_AI_API_KEY`, `GOOGLE_API_KEY`)
64
+
65
+ Default model is `google/gemini-3-flash-preview` if none is set.
66
+
67
+ ## Useful flags
68
+
69
+ - `--length short|medium|long|xl|xxl|<chars>`
70
+ - `--max-output-tokens <count>`
71
+ - `--extract-only` (URLs only)
72
+ - `--json` (machine readable)
73
+ - `--firecrawl auto|off|always` (fallback extraction)
74
+ - `--youtube auto` (Apify fallback if `APIFY_API_TOKEN` set)
75
+
76
+ ## Config
77
+
78
+ Optional config file: `~/.summarize/config.json`
79
+
80
+ ```json
81
+ { "model": "openai/gpt-5.2" }
82
+ ```
83
+
84
+ Optional services:
85
+
86
+ - `FIRECRAWL_API_KEY` for blocked sites
87
+ - `APIFY_API_TOKEN` for YouTube fallback
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: things-mac
3
+ description: Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks Kobold to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.
4
+ homepage: https://github.com/ossianhempel/things3-cli
5
+ metadata:
6
+ {
7
+ "kobold":
8
+ {
9
+ "emoji": "✅",
10
+ "os": ["darwin"],
11
+ "requires": { "bins": ["things"] },
12
+ "install":
13
+ [
14
+ {
15
+ "id": "go",
16
+ "kind": "go",
17
+ "module": "github.com/ossianhempel/things3-cli/cmd/things@latest",
18
+ "bins": ["things"],
19
+ "label": "Install things3-cli (go)",
20
+ },
21
+ ],
22
+ },
23
+ }
24
+ ---
25
+
26
+ # Things 3 CLI
27
+
28
+ Use `things` to read your local Things database (inbox/today/search/projects/areas/tags) and to add/update todos via the Things URL scheme.
29
+
30
+ Setup
31
+
32
+ - Install (recommended, Apple Silicon): `GOBIN=/opt/homebrew/bin go install github.com/ossianhempel/things3-cli/cmd/things@latest`
33
+ - If DB reads fail: grant **Full Disk Access** to the calling app (Terminal for manual runs; `Kobold.app` for gateway runs).
34
+ - Optional: set `THINGSDB` (or pass `--db`) to point at your `ThingsData-*` folder.
35
+ - Optional: set `THINGS_AUTH_TOKEN` to avoid passing `--auth-token` for update ops.
36
+
37
+ Read-only (DB)
38
+
39
+ - `things inbox --limit 50`
40
+ - `things today`
41
+ - `things upcoming`
42
+ - `things search "query"`
43
+ - `things projects` / `things areas` / `things tags`
44
+
45
+ Write (URL scheme)
46
+
47
+ - Prefer safe preview: `things --dry-run add "Title"`
48
+ - Add: `things add "Title" --notes "..." --when today --deadline 2026-01-02`
49
+ - Bring Things to front: `things --foreground add "Title"`
50
+
51
+ Examples: add a todo
52
+
53
+ - Basic: `things add "Buy milk"`
54
+ - With notes: `things add "Buy milk" --notes "2% + bananas"`
55
+ - Into a project/area: `things add "Book flights" --list "Travel"`
56
+ - Into a project heading: `things add "Pack charger" --list "Travel" --heading "Before"`
57
+ - With tags: `things add "Call dentist" --tags "health,phone"`
58
+ - Checklist: `things add "Trip prep" --checklist-item "Passport" --checklist-item "Tickets"`
59
+ - From STDIN (multi-line => title + notes):
60
+ - `cat <<'EOF' | things add -`
61
+ - `Title line`
62
+ - `Notes line 1`
63
+ - `Notes line 2`
64
+ - `EOF`
65
+
66
+ Examples: modify a todo (needs auth token)
67
+
68
+ - First: get the ID (UUID column): `things search "milk" --limit 5`
69
+ - Auth: set `THINGS_AUTH_TOKEN` or pass `--auth-token <TOKEN>`
70
+ - Title: `things update --id <UUID> --auth-token <TOKEN> "New title"`
71
+ - Notes replace: `things update --id <UUID> --auth-token <TOKEN> --notes "New notes"`
72
+ - Notes append/prepend: `things update --id <UUID> --auth-token <TOKEN> --append-notes "..."` / `--prepend-notes "..."`
73
+ - Move lists: `things update --id <UUID> --auth-token <TOKEN> --list "Travel" --heading "Before"`
74
+ - Tags replace/add: `things update --id <UUID> --auth-token <TOKEN> --tags "a,b"` / `things update --id <UUID> --auth-token <TOKEN> --add-tags "a,b"`
75
+ - Complete/cancel (soft-delete-ish): `things update --id <UUID> --auth-token <TOKEN> --completed` / `--canceled`
76
+ - Safe preview: `things --dry-run update --id <UUID> --auth-token <TOKEN> --completed`
77
+
78
+ Delete a todo?
79
+
80
+ - Not supported by `things3-cli` right now (no “delete/move-to-trash” write command; `things trash` is read-only listing).
81
+ - Options: use Things UI to delete/trash, or mark as `--completed` / `--canceled` via `things update`.
82
+
83
+ Notes
84
+
85
+ - macOS-only.
86
+ - `--dry-run` prints the URL and does not open Things.