SuperAPI AI Directory

skill-forge-base

General & other

View repository

Updated 10-16 08:43

About this skill

Skill Forge Base - Infrastructure and Runtime Environment

This Skill manages the Skill Forge learning environment. It is responsible for initializing the system, providing the user interface (Dashboard, quizzes, history), and managing the database.

Core Capabilities

  1. System Initialization: Automatically creates the ~/.skill-forge environment.
  2. Dashboard Service: Runs the Web interface at localhost:3457 .
  3. History and Analytics: Tracks learning progress and incorrect answers.

For detailed architecture and database Schema, see ARCHITECTURE.md。

Usage Instructions

1. Initialize the system

Before any operation, ensure the system is initialized. This operation is idempotent (can be executed repeatedly).

# 运行服务器时会自动触发初始化(首次运行会创建 ~/.skill-forge/ 目录与默认 config.json,并初始化数据库表)
node lib/server.js

2. Start the Dashboard

To open the main interface for taking quizzes or viewing history:

# 启动服务器(后台运行)
node lib/server.js &

# 打开 Dashboard
open "http://localhost:3457/dashboard"

3. View history

To view learning history and generate reports:

  1. Open the Dashboard (/dashboard)。
  2. Navigate to the "History" section.
  3. Or verify via API:curl http://localhost:3457/api/history

Dependencies

  • Node.js: >= 14.0.0
  • SQLite3: Data storage
  • Data directory: ~/.skill-forge/ (shared with skill-forge-quiz )

Configuration Notes (Important)

  • Dashboard/quiz features can run without an AI model configured.
  • To enable AI features such as "in-depth question analysis", you need to set ~/.skill-forge/config.json in ai.model(and optionally ai.cliCommand)。