← Back to Skills Marketplace
bytesagain1

Erp

by bytesagain1 · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ⚠ suspicious
397
Downloads
0
Stars
1
Active Installs
8
Versions
Install in OpenClaw
/install erp
Description
Plan resources, track inventory, and coordinate departments with reporting. Use when allocating resources, managing stock, or tracking department KPIs.
README (SKILL.md)

ERP

Enterprise resource planning productivity toolkit (v2.0.0). Log and track business activities across multiple categories — planning, tracking, reviews, reminders, priorities, archiving, tagging, timelines, reports, and weekly reviews. Each command records timestamped entries to its own log file, giving you a complete audit trail of all business operations.

Commands

Command Description
erp add \x3Cinput> Add a new entry to the general log. Without args, shows recent entries.
erp plan \x3Cinput> Record a planning note (resource allocation, project plan, etc.). Without args, shows recent plan entries.
erp track \x3Cinput> Track an activity, metric, or progress item. Without args, shows recent tracked entries.
erp review \x3Cinput> Log a review note (performance review, process review, etc.). Without args, shows recent reviews.
erp streak \x3Cinput> Record a streak milestone or daily streak entry. Without args, shows recent streaks.
erp remind \x3Cinput> Set a reminder or note something to follow up on. Without args, shows recent reminders.
erp prioritize \x3Cinput> Log a prioritization decision or rank items. Without args, shows recent priorities.
erp archive \x3Cinput> Archive a completed item or record. Without args, shows recent archived entries.
erp tag \x3Cinput> Tag or categorize an entry. Without args, shows recent tags.
erp timeline \x3Cinput> Add an event to the timeline. Without args, shows recent timeline entries.
erp report \x3Cinput> Log a report or summary. Without args, shows recent reports.
erp weekly-review \x3Cinput> Record a weekly review summary. Without args, shows recent weekly reviews.
erp stats Show summary statistics: entry counts per category, total entries, data size, and earliest record date.
erp export \x3Cfmt> Export all data to a file. Supported formats: json, csv, txt.
erp search \x3Cterm> Search across all log files for a keyword (case-insensitive).
erp recent Show the 20 most recent entries from the activity history log.
erp status Health check: version, data directory, total entries, disk usage, last activity.
erp help Show the built-in help with all available commands.
erp version Print the current version (v2.0.0).

Data Storage

All data is stored as plain-text log files in ~/.local/share/erp/:

  • Per-command logs — Each command (add, plan, track, etc.) writes to its own .log file (e.g., add.log, plan.log).
  • History log — Every operation is also appended to history.log with a timestamp and command name.
  • Export files — Generated in the same directory as export.json, export.csv, or export.txt.

Entries are stored in timestamp|value format, making them easy to grep, parse, or pipe into other tools.

Requirements

  • Bash 4.0+ (uses set -euo pipefail)
  • coreutilsdate, wc, du, head, tail, grep, basename, cut
  • No external dependencies, API keys, or network access required
  • Works fully offline on any POSIX-compatible system

When to Use

  1. Daily operational logging — Track what happened across departments each day: sales calls, support tickets resolved, inventory received, tasks completed.
  2. Resource planning and prioritization — Use plan and prioritize to record allocation decisions and rank items by importance before committing resources.
  3. Weekly business reviews — Run weekly-review to summarize the week, then stats to see aggregate numbers and export json to share with stakeholders.
  4. Reminder and follow-up management — Use remind to note items that need attention later, and search to quickly find past reminders by keyword.
  5. Audit trail and compliance — Every action is timestamped and logged to history.log, providing a complete chronological record of all ERP activities for auditing purposes.

Examples

# Add a new inventory item
erp add "Received 500 units of Widget-A from Supplier-X"

# Plan resource allocation for Q2
erp plan "Allocate 3 engineers to Project Alpha for Q2"

# Track a KPI
erp track "Customer satisfaction score: 4.7/5.0"

# Set a priority
erp prioritize "Ship feature-X before feature-Y — customer deadline March 30"

# Record a weekly review
erp weekly-review "Week 12: shipped 3 features, resolved 15 tickets, revenue +8%"

# Search for anything mentioning 'Widget'
erp search Widget

# Export everything to JSON for reporting
erp export json

# Check system health
erp status

# View summary statistics
erp stats

Tips

  • Run any data command without arguments to see recent entries (e.g., erp add shows the last 20 add entries).
  • Use erp recent for a quick overview of all activity across all categories.
  • Pipe exports to other tools: cat ~/.local/share/erp/export.csv | column -t -s,
  • Back up your data by copying ~/.local/share/erp/ to your preferred backup location.

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

Usage Guidance
This skill appears internally consistent and operates fully offline, storing data under ~/.local/share/erp. Before installing, consider: (1) review the script yourself (it's plain shell) if you want extra assurance; (2) do not log secrets—entries are stored as plain text; (3) set appropriate filesystem permissions on ~/.local/share/erp if multiple users share the system; (4) back up or delete the data directory when no longer needed; and (5) note the minor version string mismatch (registry 2.0.1 vs script/README 2.0.0) — nothing dangerous, but you may want the publisher to clarify.
Capability Analysis
Type: OpenClaw Skill Name: erp Version: 2.0.1 The skill is a functional ERP logging toolkit, but it contains several security vulnerabilities. Specifically, the `export` command in `scripts/script.sh` is vulnerable to path traversal via the format argument, allowing the agent to write files outside the intended directory. Additionally, the `search` command is susceptible to grep argument injection. While these appear to be unintentional flaws rather than intentional malware, they represent high-risk behaviors that could be exploited via prompt injection.
Capability Assessment
Purpose & Capability
Name/description (ERP logging, planning, reporting) align with the included script and SKILL.md. The tool only writes and reads local log files and provides exports and search — all coherent with the stated purpose. (Minor: SKILL.md and script advertise v2.0.0 while registry lists v2.0.1; this is an informational mismatch, not a security concern.)
Instruction Scope
Runtime instructions and the script limit operations to creating/reading/writing logs in $HOME/.local/share/erp and using standard POSIX utilities (date, grep, wc, du, head, tail). The SKILL.md does not instruct the agent to read unrelated system files, network endpoints, or environment variables beyond HOME.
Install Mechanism
No install spec; this is an instruction-only skill with a bundled shell script. Nothing is downloaded or installed from remote URLs.
Credentials
No environment variables, credentials, or config paths are required. The script uses HOME to determine a local data directory, which is proportionate to its stated function.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform-level privileges. Its only persistent effect is creating and updating files under the user's home directory (~/.local/share/erp), which is expected for a local logging tool.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install erp
  3. After installation, invoke the skill by name or use /erp
  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.5
old template -> domain-specific v2.0.0
v1.0.4
old template -> domain-specific v2.0.0
v1.0.3
Quality upgrade
v1.0.2
Standards compliance: unique content, no template text
v1.0.1
Quality fix: cleaner docs, removed flags
v1.0.0
Initial release
Metadata
Slug erp
Version 2.0.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 8
Frequently Asked Questions

What is Erp?

Plan resources, track inventory, and coordinate departments with reporting. Use when allocating resources, managing stock, or tracking department KPIs. It is an AI Agent Skill for Claude Code / OpenClaw, with 397 downloads so far.

How do I install Erp?

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

Is Erp free?

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

Which platforms does Erp support?

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

Who created Erp?

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

💬 Comments