Skip to content
Agentmart
Submit a tool

archery-instance

Manage Archery instance/database catalog cache.

Skill by xqdgithub

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/xqdgithub-archery-instance

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Manage Archery instance/database catalog cache. Use to refresh cache, list instances/databases/tables, or find instance by exact database name. Commands instance refresh/ls/databases/tables/find and group ls/instances. Instance optional for tables when db name uniquely resolves from cache. For table schema use archery-table-schema skill. For fuzzy/regex database search use archery-database-search skill.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/archery-instance

What's inside

Skill name
archery-instance
Description
Manage Archery instance/database catalog cache. Use to refresh cache, list instances/databases/tables, or find instance by exact database name. Commands instance refresh/ls/databases/tables/find and group ls/instances. Instance optional for tables when db name uniquely resolves from cache. For table schema use archery-table-schema skill. For fuzzy/regex database search use archery-database-search skill.
License
MIT
Instructions
71 lines in SKILL.md · view on GitHub

Files (4)

  • SKILL.md
  • commands.md · reference/
  • errors.md · reference/
  • mcp.md · reference/

SKILL.md (first lines)

# Archery 实例与库缓存

## 何时使用

- 首次查库前刷新实例/库映射
- 列出有哪些实例、某实例下有哪些库、某库下有哪些表
- 已知**完整库名**,精确反查实例

**查看表结构(列名/类型)→ `archery-table-schema` skill**

**库名不完整或需模糊/正则搜索 → `archery-database-search` skill**

**不要使用本 Skill:**

- 模糊/正则搜库 → `archery-database-search`
- 查看表结构 → `archery-table-schema`
- 执行 SQL → `archery-query`
- 提交 DDL/DML 工单 → `archery-workflow`

## 推荐工作流

```bash
# 1. 配置白名单(可选)
archery config set --instance-include "RZ_BJ_OPS_ADMIN,OL_SET_PMS_RO"

# 2. 刷新缓存(TTL 7 天)
archery instance refresh

# 3. 查看实例/库
archery instance ls --table
archery instance databases OL_SET_PMS_RO --table

# 4. 精确反查(完整库名)
archery instance find --db devops_center

# 5. 列出库下所有表(实时 API,实例可省略)
archery instance tables --db devops_center --table

# 6. 查看表结构 → archery-table-schema skill
# archery instance table-schema --db devops_center --table users

# 7. 库名片段未知时 → archery-database-search(默认 mysql + slave 从库)
archery database search devops --table
archery database search devops --type all --table
```

## 命令速查

```bash
archery instance refresh [--force]
archery instance ls [--db-type mysql] [--table]
archery instance databases <实例> [--table]
archery instance tables [<实例>] --db <库> [--schema <s>] [--table]
archery instance find --db <完整库名> [--table]
archery group ls
archery group instances <资源组>
```

## 约束

1. 缓存 TTL 默认 7 天,`instance refresh --force` 强制重建
2. 白名单非空时仅缓存/拉取指定实例
3. `instance tables` / `instance table-schema` / `archery query` 可省略实例(库名在缓存中唯一匹配时;多实例匹配时需显式指定)

## 参考

- 完整参数表:[reference/commands.md](reference/commands.md)
- MCP 工具:[reference/mcp.md](reference/mcp.md)
- 常见错误:[reference/errors.md](reference/errors.md)

From xqdgithub/archery-cli, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jun 22, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from xqdgithub

Cite this page

archery-instance skill. Agent Mart. https://agentmart.dev/skills/xqdgithub-archery-instance (last updated 2026-10-24)