Config
Manage app configuration files with init, list, and add operations. Use when initializing configs, listing settings, switching environments.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 259 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Overall the script implements a local config/log utility matching the name/description. However a couple of declared commands do not perform the action a user would reasonably expect: 'remove' only echoes a removal message and does not delete entries from data.log, and 'run' only prints its argument rather than executing anything. The SKILL.md and script otherwise align on storage location and basic operations.
Instruction Scope
SKILL.md instructs the agent to run local commands (init, add, list, search, export). These are limited to local filesystem operations. Be aware the tool writes every executed command to history.log and appends user-provided text to data.log — so any sensitive text passed to 'config add' (or piped into the command examples like diff outputs) will be persisted.
Install Mechanism
Instruction-only skill with a single bash script; no install spec, no remote downloads, and no package manager use — lowest install risk.
Credentials
The registry metadata lists no required env vars, but the script honors CONFIG_DIR (override), XDG_DATA_HOME, and HOME for storage location. This is reasonable, but CONFIG_DIR is not declared as a required/provided env in metadata. Also: because data and history are stored under the user's data directory, those files may contain sensitive information if used to store secrets.
Persistence & Privilege
always:false and the skill is user-invocable only. The script only creates files under the user's data directory (~/.local/share/config by default) and does not modify global/system settings or other skills' configs.
Assessment
This appears to be a simple local-only config/log tool and is coherent with its description. Before using it: (1) don't store secrets or credentials with 'config add' because entries and history are persisted in plaintext under your user data directory; (2) note that 'remove' does not actually delete entries — review/modify the script if you need true removal; (3) if you expect 'run' to execute commands, update the implementation (it currently only echoes the input). If you are comfortable with plaintext local logs and/or audit those files in backups, this skill is reasonable to install.Like a lobster shell, security has layers — review code before you run it.
Current versionv2.0.1
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
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 <input> | 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 <item> | Add a new timestamped entry to the data log |
config remove <item> | Remove a specified entry |
config search <term> | 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 | hello@bytesagain.com
Files
2 totalSelect a file
Select a file to preview.
Comments
Loading comments…
