kb-setup

Initialize ~/.kb/config.json and create the kb/ directory.

2|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/tim-hub/powerball --skill kb-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kb-setup
Source: https://github.com/tim-hub/powerball/tree/main/personal/skills/kb-setup
Command: npx skills add https://github.com/tim-hub/powerball --skill kb-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Knowledge base setup and configuration skill. Use this skill when the user wants to configure the knowledge base, set up KB paths, update allow/disallow lists, reset the KB config, or when kb/kb-search fails because ~/.kb/config.json is missing.

Core Features & Use Cases

  • Configure and initialize ~/.kb/config.json
  • Manage allow_list and disallow_list for knowledge base search
  • Create kb/ directory under the primary allow_list path on first run

Quick Start

Configure or reset the knowledge base by initializing ~/.kb/config.json and creating the kb directory as needed.

Frequently Asked Questions about kb-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I initialize a local knowledge base config when it is missing?

To initialize a local knowledge base config, the setup process writes ~/.kb/config.json and creates a kb/ subdirectory under the first allow_list path. This resolves missing configuration errors and establishes the base directory structure required for knowledge base operations.

What is the best way to update allow_list and disallow_list for knowledge base search?

The best way to update allow_list and disallow_list is to apply a dedicated configuration skill that writes the updated path arrays directly into ~/.kb/config.json. This ensures the search indexes the correct directories while excluding restricted paths from the results.

Why does knowledge base search fail when ~/.kb/config.json is missing?

Knowledge base search fails when ~/.kb/config.json is missing because the search mechanism requires this file to locate valid directories via the allow_list. Without this config file, the system has no paths to index, resulting in execution failure.

Do I need jq installed to configure knowledge base paths?

Yes, you need jq installed to configure knowledge base paths because the initialization script relies on this dependency to parse and write the JSON configuration structure into ~/.kb/config.json. The setup process requires this command-line JSON processor to be available in the environment.

How to reset knowledge base configuration to default settings?

To reset knowledge base configuration, execute the initialization script to overwrite the existing ~/.kb/config.json. This action rewrites the JSON config with fresh allow_list and disallow_list parameters and recreates the kb/ subdirectory under the primary allow_list path if needed.