← Back to Skills Marketplace
bytesagain1

Dotfiles

by bytesagain1 · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ✓ Security Clean
273
Downloads
0
Stars
1
Active Installs
6
Versions
Install in OpenClaw
/install dotfiles
Description
Backup, sync, and version-track dotfiles across multiple machines. Use when syncing configs, backing up settings, restoring on new machines.
README (SKILL.md)

Dotfiles

Sysops toolkit for scanning, monitoring, reporting, and maintaining system configurations. Track changes, create backups, run benchmarks, and keep your environment healthy — all from the command line.

Commands

Command Description
dotfiles scan \x3Cinput> Scan and log a system configuration entry
dotfiles monitor \x3Cinput> Record a monitoring observation
dotfiles report \x3Cinput> Log a report entry for review
dotfiles alert \x3Cinput> Create an alert record
dotfiles top \x3Cinput> Record top-level metrics or priorities
dotfiles usage \x3Cinput> Log resource usage data
dotfiles check \x3Cinput> Run a check and record results
dotfiles fix \x3Cinput> Log a fix or remediation action
dotfiles cleanup \x3Cinput> Record a cleanup operation
dotfiles backup \x3Cinput> Log a backup event
dotfiles restore \x3Cinput> Log a restore operation
dotfiles log \x3Cinput> Add a general log entry
dotfiles benchmark \x3Cinput> Record benchmark results
dotfiles compare \x3Cinput> Log a comparison between configurations
dotfiles stats Show summary statistics across all logs
dotfiles export \x3Cfmt> Export all data (json, csv, or txt)
dotfiles search \x3Cterm> Search across all log files for a term
dotfiles recent Show the 20 most recent activity entries
dotfiles status Health check — version, disk usage, last activity
dotfiles help Show all available commands
dotfiles version Show current version

Each command without arguments displays the most recent 20 entries from its log file.

Data Storage

All data is stored in ~/.local/share/dotfiles/:

  • Per-command logsscan.log, monitor.log, report.log, alert.log, top.log, usage.log, check.log, fix.log, cleanup.log, backup.log, restore.log, log.log, benchmark.log, compare.log
  • Activity historyhistory.log (unified timeline of all actions)
  • Exportsexport.json, export.csv, or export.txt (generated on demand)

Data format: each entry is stored as YYYY-MM-DD HH:MM|\x3Cvalue>, pipe-delimited for easy parsing.

Requirements

  • Bash 4+ with set -euo pipefail
  • Standard POSIX utilities (date, wc, du, head, tail, grep, cut, basename)
  • No external dependencies or API keys required

When to Use

  1. System configuration auditing — scan and record the state of config files across machines, track drift over time
  2. Incident response logging — use alert, fix, and log to maintain a structured timeline during outages or issues
  3. Backup and restore tracking — log every backup and restore event to maintain an audit trail for compliance
  4. Performance benchmarking — record benchmark results over time and compare configurations side by side
  5. Daily ops monitoring — capture usage metrics, run health checks, and clean up stale resources on a regular schedule

Examples

# Scan a configuration and log the result
dotfiles scan "nginx.conf updated to v1.25"

# Record a monitoring observation
dotfiles monitor "CPU at 78% during peak hours"

# Create an alert for high memory usage
dotfiles alert "Memory usage exceeded 90% threshold"

# Log a fix action after resolving an issue
dotfiles fix "Rotated /var/log/syslog, freed 2.3GB"

# Export all collected data as JSON for analysis
dotfiles export json

# Search all logs for entries related to nginx
dotfiles search nginx

# View recent activity across all commands
dotfiles recent

# Check overall health and disk usage
dotfiles status

# Show summary statistics
dotfiles stats

Output

All command output goes to stdout. Redirect to a file if needed:

dotfiles stats > report.txt
dotfiles export json

Powered by BytesAgain | bytesagain.com | [email protected]

Usage Guidance
This skill appears to do what it says and has no network or credential requests. Things to consider before installing: 1) All data is stored under ~/.local/share/dotfiles — inspect or back up that directory if you care about privacy. 2) The tool will happily record arbitrary text you pass to it; do not log passwords, API keys, or other secrets into these logs. 3) The JSON export simply injects raw values into JSON (no escaping), so exported files can be malformed or leak structure-sensitive content if logs contain quotes/newlines — review exports before sharing. 4) If you want extra safety, review the script locally and/or run it in a restricted account/container. 5) Note a minor metadata/version mismatch in SKILL.md vs registry (cosmetic). Overall the skill is coherent and self-contained; use caution around what you log and export.
Capability Analysis
Type: OpenClaw Skill Name: dotfiles Version: 2.0.1 The skill is a bash-based logging utility designed to record system administration activities and metrics. While the description in SKILL.md and the name 'Dotfiles' suggest configuration synchronization and backup capabilities, the actual implementation in scripts/script.sh is limited to appending user-provided strings to local log files within ~/.local/share/dotfiles/. There is no evidence of network activity, data exfiltration, unauthorized file access, or malicious command execution.
Capability Assessment
Purpose & Capability
The SKILL.md and the included scripts implement a local logging/backup/monitoring tool that stores per-command logs under ~/.local/share/dotfiles. Nothing in the code requires cloud credentials, unrelated binaries, or other system-wide access beyond standard filesystem and POSIX utilities — consistent with the described purpose.
Instruction Scope
Runtime instructions and the script are scoped to local logging, search, export, and status operations. There is no network I/O or access to other system configuration paths. However, the tool appends arbitrary user input directly into log files and uses simple printf/echo to produce JSON exports without escaping values; this can produce malformed or unsafe exports if logs contain quotes/newlines or sensitive data. Also some minor shell-pipeline behaviour (e.g., counting matches in a piped while loop) is a quality issue but not a security breach by itself.
Install Mechanism
No install spec or remote downloads are present; the skill is instruction-only with a single local shell script. Nothing is fetched from external URLs at install time, minimizing supply-chain risk.
Credentials
The skill requests no environment variables, no credentials, and only uses standard POSIX utilities. This is proportionate to its function.
Persistence & Privilege
The skill is not force-enabled (always: false) and is user-invocable. It does not modify other skills or system-wide agent settings. Its only persistent state is local files under ~/.local/share/dotfiles, which is appropriate for a logging/backup tool.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dotfiles
  3. After installation, invoke the skill by name or use /dotfiles
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v1.0.3
old template -> domain-specific v2.0.0
v1.0.2
old template -> domain-specific v2.0.0
v1.0.1
De-template, unique content, script cleanup
v1.0.0
Initial release
Metadata
Slug dotfiles
Version 2.0.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 6
Frequently Asked Questions

What is Dotfiles?

Backup, sync, and version-track dotfiles across multiple machines. Use when syncing configs, backing up settings, restoring on new machines. It is an AI Agent Skill for Claude Code / OpenClaw, with 273 downloads so far.

How do I install Dotfiles?

Run "/install dotfiles" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dotfiles free?

Yes, Dotfiles is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Dotfiles support?

Dotfiles is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dotfiles?

It is built and maintained by bytesagain1 (@bytesagain1); the current version is v2.0.1.

💬 Comments