Config
/install config
Config
Multi-purpose configuration and data utility tool. Initialize settings, add entries, search records, and export data — all from the command line.
Commands
| Command | Description |
|---|---|
config run \x3Cinput> |
Execute the main function with the given input |
config config |
Show the configuration file path ($DATA_DIR/config.json) |
config status |
Display current system status (shows "ready" when operational) |
config init |
Initialize the data directory and prepare for first use |
config list |
List all entries stored in the data log |
config add \x3Citem> |
Add a new timestamped entry to the data log |
config remove \x3Citem> |
Remove a specified entry |
config search \x3Cterm> |
Search entries by keyword (case-insensitive) |
config export |
Export all stored data to stdout |
config info |
Show version number and data directory path |
config help |
Show help with all available commands |
config version |
Show current version |
Data Storage
- Default data directory:
~/.local/share/config/ - Data log:
$DATA_DIR/data.log— stores all added entries with timestamps - History log:
$DATA_DIR/history.log— timestamped record of every command executed - Override the storage location by setting the
CONFIG_DIRenvironment variable
Requirements
- Bash 4+ (uses
set -euo pipefail) - No external dependencies, API keys, or network access required
- Fully offline and local — data never leaves your machine
When to Use
- Bootstrapping a new project — Run
initto create the data directory and get a clean starting point for configuration tracking - Logging configuration changes — Use
addto record timestamped configuration decisions, environment changes, or deployment notes - Searching through config history — Find specific entries with
searchto trace when a setting was last changed - Exporting settings for backup — Dump all stored entries with
exportand redirect to a file for version control or sharing - Quick status checks in scripts — Use
statusandinfoin automation pipelines to verify the tool is ready before proceeding
Examples
# Initialize the config data directory
config init
# Record a configuration change
config add "Set DATABASE_URL to production endpoint"
# Record another entry
config add "Enabled rate limiting: 100 req/min"
# List all recorded entries
config list
# Search for entries related to a keyword
config search "database"
# Export all data to a backup file
config export > config-backup.txt
# Check system status
config status
# View version and storage location
config info
How It Works
The tool maintains a simple date-stamped text log (data.log). Each add command appends a new line with the current date and your input. Every command execution is also logged to history.log for audit trails. The search command performs a case-insensitive grep, and export outputs the full data log to stdout.
Tips
- Use
config configto find where the config JSON file is stored — handy for automated backup - Pipe
exportinto other tools:config export | wc -lto count entries - Combine with cron or CI/CD: log config drifts automatically with
config add "$(diff old new)" - Run
config helpat any time to see the complete command reference
Powered by BytesAgain | bytesagain.com | [email protected]
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install config - 安装完成后,直接呼叫该 Skill 的名称或使用
/config触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Config 是什么?
Manage app configuration files with init, list, and add operations. Use when initializing configs, listing settings, switching environments. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 402 次。
如何安装 Config?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install config」即可一键安装,无需额外配置。
Config 是免费的吗?
是的,Config 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Config 支持哪些平台?
Config 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Config?
由 bytesagain1(@bytesagain1)开发并维护,当前版本 v2.0.1。