Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Agent Skills

GitHub stars GitHub forks License Python

English

为 AI 代理提供的数据库工具技能集,兼容 OpenSkills 系统。

包含的技能

技能 数据库 依赖
mysql-tools MySQL pip install pymysql
mssql-tools SQL Server pip install pymssql
dm8-tools 达梦 DM8 pip install jaydebeapi JPype1
sqlite-tools SQLite 无需安装(Python 内置)

每个技能包含

skill-name/
├── SKILL.md              # 技能主文件(使用说明)
├── scripts/              # Python 工具脚本
│   ├── *_connect.py      # 连接测试
│   ├── *_tables.py       # 列出所有表
│   ├── *_schema.py       # 查看表结构
│   ├── *_query.py        # 执行 SQL 查询
│   └── *_info.py         # 数据库信息
├── references/           # SQL 参考文档
└── assets/               # 驱动等资源(如有)

使用方式

方式一:配合 OpenSkills 使用

# 安装 OpenSkills
npm i -g openskills

# 安装技能
openskills install huangzt/my-agent-skills

# 同步到 AGENTS.md
openskills sync

方式二:直接使用脚本

# 克隆仓库
git clone https://github.com/huangzt/my-agent-skills.git

# 安装依赖(以 MySQL 为例)
pip install pymysql

# 使用脚本
python skills/mysql-tools/scripts/mysql_connect.py --host 127.0.0.1 --user root --password YOUR_PASSWORD --database YOUR_DB

平台支持

  • ✅ Windows
  • ✅ macOS
  • ✅ Linux

许可证

MIT License - 您可以自由使用、修改和分发本项目。

About

🤖 AI Agent 数据库工具技能集 | Database tools skills for AI agents, compatible with OpenSkills. Supports MySQL, SQL Server, DM8, SQLite.

Topics

Resources

Contributing

Security policy

Stars

19 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages