Prisma数据库工具

Prisma1

by bytesagain1

💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated] orm-builder, scala, dao, database, datamapper, graphql.

4.5k数据与存储未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/bytesagain1/orm-builder

文档

Orm Builder

Terminal-based gaming toolkit for dice rolls, scoring, rankings, challenges, leaderboards, and player tracking. Orm Builder provides 12 core gaming commands plus built-in statistics, data export, search, and health-check capabilities — all backed by local log-based storage.

Commands

All commands follow the pattern: orm-builder <command> [input]

When called without arguments, each command displays its most recent 20 log entries. When called with arguments, it records the input with a timestamp.

Core Gaming Commands

CommandDescription
roll <input>Record a dice roll or random result
score <input>Record a score entry
rank <input>Record a ranking or position
history <input>Record a history event
stats <input>Record a stats observation
challenge <input>Record a challenge entry
create <input>Record a creation event (new game, session, etc.)
join <input>Record a join action (player joining a game/session)
track <input>Record a tracking entry (progress, milestones)
leaderboard <input>Record a leaderboard entry
reward <input>Record a reward or achievement
reset <input>Record a reset action

Utility Commands

CommandDescription
statsShow summary statistics across all log files (entry counts, disk usage)
export <fmt>Export all data to a file — supported formats: json, csv, txt
search <term>Search across all log files for a keyword (case-insensitive)
recentShow the 20 most recent entries from the activity history
statusHealth check — version, data directory, total entries, disk usage, last activity
helpDisplay the full help message with all available commands
versionPrint the current version (orm-builder v2.0.0)

Data Storage

All data is stored locally in plain-text log files:

  • Location: ~/.local/share/orm-builder/
  • Format: Each entry is a line of YYYY-MM-DD HH:MM|<input> in the corresponding <command>.log file
  • History: Every action is also appended to history.log with a timestamp and command label
  • Export formats: JSON (array of objects), CSV (with headers), plain text (grouped by command)
  • No external dependencies — pure bash, runs anywhere

Requirements

  • Bash 4.0+ (uses set -euo pipefail)
  • Core utilities: date, wc, du, tail, grep, sed, cat, basename
  • No network access required — fully offline
  • No configuration needed — works out of the box

When to Use

  1. Tabletop gaming sessions — use orm-builder roll to log dice rolls, orm-builder score to track scores, and orm-builder leaderboard to record standings
  2. Game challenge tracking — record challenges with orm-builder challenge, track progress with orm-builder track, and reward achievements with orm-builder reward
  3. Player management — use orm-builder create for new games/sessions, orm-builder join for player registration, and orm-builder rank for rankings
  4. Session history and analytics — review past activity with orm-builder history, get aggregate stats with orm-builder stats, and export data with orm-builder export csv
  5. Tournament administration — combine orm-builder leaderboard, orm-builder score, and orm-builder rank to manage multi-round competitions, then orm-builder export json for archival

Examples

Record dice rolls and scores

bash
# Log a dice roll
orm-builder roll "d20 = 17, critical hit"

# Record a player score
orm-builder score "Player1: 2450 points"

# View recent rolls
orm-builder roll

Challenge and reward tracking

bash
# Create a new challenge
orm-builder challenge "defeat the dragon - difficulty: legendary"

# Track progress
orm-builder track "dragon HP reduced to 50%"

# Award a reward
orm-builder reward "Player2 earned Dragon Slayer badge"

Leaderboard management

bash
# Update leaderboard
orm-builder leaderboard "1st: Player1 (2450), 2nd: Player3 (2100), 3rd: Player2 (1800)"

# Record rankings
orm-builder rank "Player1 moved from #3 to #1"

# Export full leaderboard data
orm-builder export json

Session lifecycle

bash
# Start a new session
orm-builder create "Campaign: The Lost Mines - Session 5"

# Players join
orm-builder join "Player1 joined as Fighter"
orm-builder join "Player2 joined as Mage"

# Review session history
orm-builder recent

Statistics and data export

bash
# View overall statistics
orm-builder stats

# Search for specific entries
orm-builder search "critical"

# Health check
orm-builder status

# Export to CSV for spreadsheet analysis
orm-builder export csv

Output

All commands output to stdout. Redirect to a file with:

bash
orm-builder stats > report.txt
orm-builder export json   # writes to ~/.local/share/orm-builder/export.json

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

相关 Skills

资深架构师

by alirezarezvani

Universal
热门

适合系统设计评审、ADR记录和扩展性规划,分析依赖与耦合,权衡单体或微服务、数据库与技术栈选型,并输出Mermaid、PlantUML、ASCII架构图。

搞系统设计、技术选型和扩展规划时,用它能更快理清架构决策与依赖关系,还能直接产出 Mermaid/PlantUML 图,方案讨论效率很高。

数据与存储
未扫描20.8k

技术栈评估

by alirezarezvani

Universal
热门

对比框架、数据库和云服务,结合 5 年 TCO、安全风险、生态活力与迁移复杂度做量化评估,适合技术选型、栈升级和替换路线决策。

帮你系统比较技术栈优劣,不只看功能,还把TCO、安全性和生态健康度一起量化,选型和迁移决策更稳。

数据与存储
未扫描20.8k

资深数据科学家

by alirezarezvani

Universal
热门

覆盖实验设计、特征工程、预测建模、因果推断与模型评估,适合用 Python/R/SQL 做 A/B 测试、时序分析和生产级 ML 落地,支撑数据驱动决策。

从 A/B 测试、因果分析到预测建模一条龙搞定,既有硬核统计方法也懂业务沟通,特别适合把数据结论真正落地。

数据与存储
未扫描20.8k

相关 MCP 服务

SQLite 数据库

编辑精选

by Anthropic

热门

SQLite 是让 AI 直接查询本地数据库进行数据分析的 MCP 服务器。

这个服务器解决了 AI 无法直接访问 SQLite 数据库的问题,适合需要快速分析本地数据集的开发者。不过,作为参考实现,它可能缺乏生产级的安全特性,建议在受控环境中使用。

数据与存储
88.1k

by Anthropic

热门

PostgreSQL 是让 Claude 直接查询和管理你的数据库的 MCP 服务器。

这个服务器解决了开发者需要手动编写 SQL 查询的痛点,特别适合数据分析师或后端开发者快速探索数据库结构。不过,由于是参考实现,生产环境使用前务必评估安全风险,别指望它能处理复杂事务。

数据与存储
88.1k

by Firecrawl

热门

Firecrawl 是让 AI 直接抓取网页并提取结构化数据的 MCP 服务器。

它解决了手动写爬虫的麻烦,让 Claude 能直接访问动态网页内容。最适合需要实时数据的研究者或开发者,比如监控竞品价格或抓取新闻。但要注意,它依赖第三方 API,可能涉及隐私和成本问题。

数据与存储
6.8k

评论