Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

database-manager数据库管理器

Agent Skill

用于辅助数据库表结构、查询语句、迁移脚本和数据维护任务。它适合让 Agent 分析 schema、编写 SQL、排查查询问题、整理索引或生成迁移建议。使用时需要明确数据库类型、连接环境和目标表,区分只读分析与写入变更;涉及删除、更新、迁移和批量导入时,应优先 dry-run、备份或事务保护,避免误操作。

总安装

33,905

周安装

1,385

GitHub Stars

公开资料未说明

下载量

10,969
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:database-manager(数据库管理器)
来源仓库:https://github.com/ivangdavila/database-manager
安装命令:
openclaw skills install database-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install database-manager

简介

用于规划、操作和恢复关系数据库。database-manager 属于开发类 Skill,可作为该场景下的辅助能力补充。

  • 涵盖架构治理、安全迁移、备份演练和事件响应。
  • 适合数据库运维与高可用性管理场景。
  • 安装方式:clawhub,仅适用于 OpenClaw。
  • 需具备相应数据库访问权限方可使用。

SKILL.md

name
Database Manager
slug
database-manager
version
1.0.0
homepage
https://clawic.com/skills/database-manager
description
Plan, operate, and recover relational databases with schema governance, safe migrations, backup drills, and incident response playbooks.
changelog
Initial release with schema governance rules, migration safety checks, backup recovery workflows, and on-call response templates.
metadata
{"clawdbot":{"emoji":"🗄️","requires":{"bins":[],"config":["~/database-manager/"]},"os":["linux","darwin","win32"],"configPaths":["~/database-manager/"]}}

Setup

On first use, read setup.md for local initialization, activation preferences, and operating defaults.

When to Use

User needs a reliable database operating system for schema design, query hygiene, migration rollout, and recovery readiness. Agent keeps data work safe by enforcing preflight checks, explicit rollback plans, and incident-ready runbooks.

Use this skill when database changes can affect production reliability, latency, or data integrity.

Architecture

Memory lives in ~/database-manager/. See memory-template.md for the base structure.

~/database-manager/
├── memory.md                  # Durable context and operating preferences
├── inventory.md               # Systems, engines, owners, and critical datasets
├── standards.md               # Naming, indexing, and schema conventions
├── migrations.md              # Planned and executed migration records
├── backups.md                 # Backup schedule, retention, and restore drills
├── incidents.md               # Incident timeline, mitigations, and follow-up
└── archive/
    ├── migrations-YYYY-MM.md  # Closed migrations by month
    └── incidents-YYYY-MM.md   # Closed incidents by month

Quick Reference

TopicFile
Setup flowsetup.md
Memory templatememory-template.md
Inventory and ownership modelinventory-and-governance.md
Query operations and change windowsquery-operations.md
Migration and release controlsmigration-and-release.md
Backup and recovery workflowsbackup-and-recovery.md
Incident response sequenceincident-playbook.md
Reusable templatestemplates.md

Core Rules

1. Never Change Production Without a Preflight Packet

Every schema or data change must include:

  • intent
  • blast radius
  • rollback path
  • verification query set

Skipping preflight creates unbounded operational risk.

2. Separate Read Validation from Write Execution

Validate assumptions with read-only checks first, then run writes in explicit, audited steps.

This prevents accidental broad updates caused by stale predicates or wrong join keys.

3. Treat Migrations as Product Releases

Each migration requires:

  • owner
  • deployment window
  • rollback deadline
  • post-deploy verification criteria

Schema changes without release discipline are a primary source of prolonged incidents.

4. Make Index and Query Trade-offs Explicit

When changing indexes or query plans, state expected impact on:

  • read latency
  • write throughput
  • storage growth

Invisible trade-offs create hidden cost and unpredictable performance regressions.

5. Backup Is Not Real Until Restore Is Proven

Do not trust backup status alone. Run restore drills, validate recovered row counts, and document measured recovery time.

Unverified backups are operationally equivalent to no backups.

6. Encode Safety Gates for Destructive Operations

Before DROP, TRUNCATE, broad DELETE, or bulk UPDATE:

  • confirm table and environment
  • capture row count baseline
  • require explicit user confirmation
  • log exact rollback route

Destructive steps without safety gates can permanently corrupt business data.

7. Close Every Incident with Durable Learning

After mitigation:

  • capture root cause
  • record missing guardrail
  • add one concrete prevention change

Without closure rules, the same incident class repeats.

Common Traps

  • Running updates without a restrictive predicate -> unintended mass writes and long rollback windows.
  • Shipping migrations without timing and lock analysis -> production latency spikes and blocked transactions.
  • Assuming replica lag is harmless -> stale reads and misleading verification outcomes.
  • Declaring backup success without restore drills -> false confidence during outages.
  • Fixing incidents without permanent guardrails -> repeated operational failures.

Security & Privacy

Data that leaves your machine:

  • None by default.

Data that stays local:

  • Database operating context and records under ~/database-manager/.

This skill does NOT:

  • Execute destructive commands without explicit user confirmation.
  • Access unrelated credentials or services by default.
  • Store secrets in memory files.

Related Skills

Install with clawhub install <slug> if user confirms:

  • sql - SQL query authoring and analysis
  • mysql - MySQL-specific workflows and troubleshooting
  • prisma - Prisma schema and migration tooling
  • sqlite - local database workflows and prototyping
  • backend - backend architecture and service delivery

Feedback

  • If useful: clawhub star database-manager
  • Stay updated: clawhub sync

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.45%
按下载量换算9,812

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills