Agent skill

Xskill Registry DB First

by SkillNerds in SkillNerds/xskill

XSkill 数据访问原则:文件系统是内容真相,由 worker 同步进库;面板与业务读 请求只走数据库;内核 agent loop 可直接写盘。适用于改 dashboard、recommend、 team、pipeline、ecosystems 等读路径,以及审查是否又引入业务侧扫盘。

MITAuto-check passedAgent Workflows

Install Xskill Registry DB First

skills CLI
$ npx skills add SkillNerds/xskill --skill xskill-registry-db-first -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install SkillNerds/xskill xskill-registry-db-first --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/SkillNerds/xskill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/xskill-registry-db-first .claude/skills/xskill-registry-db-first && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
xskill-registry-db-first
GitHub stars
128
Token cost
~253 tokens
SKILL.md length
54 words
Files
2
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

XSkill 数据访问原则:文件系统是内容真相,由 worker 同步进库;面板与业务读 请求只走数据库;内核 agent loop 可直接写盘。适用于改 dashboard、recommend、 team、pipeline、ecosystems 等读路径,以及审查是否又引入业务侧扫盘。

  • Works in 4 steps: 这次读的数据属于哪一个库?见 databases.md。 → 改的是业务读路径,还是内核写盘 / worker 同步?三者不要混用扫盘策略。 → 若要加盘到库同步,是否已并进现有 worker 的同一轮扫描? → …
  • Tasks that involve Autonomous loops
  • SKILL.md covers 架构, 规则 and 检查
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Xskill Registry DB First is an agent skill from SkillNerds/xskill. XSkill 数据访问原则:文件系统是内容真相,由 worker 同步进库;面板与业务读 请求只走数据库;内核 agent loop 可直接写盘。适用于改 dashboard、recommend、 team、pipeline、ecosystems 等读路径,以及审查是否又引入业务侧扫盘。

Its SKILL.md is about 250 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `databases.md`).

It sits in Agent Workflows, covering Autonomous loops. The repository describes itself as: Self-evolving skills lib for coding agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Autonomous loops

Example prompts

  • “/xskill-registry-db-first”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 这次读的数据属于哪一个库?见 databases.md。
  2. 改的是业务读路径,还是内核写盘 / worker 同步?三者不要混用扫盘策略。
  3. 若要加盘到库同步,是否已并进现有 worker 的同一轮扫描?
  4. PR 是否在面板或 API 热路径新增了扫盘?有则打回。

What it can do on your machine

Read from SKILL.md and the folder at commit aeee7c1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Xskill Registry DB First loads about 253 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 54 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~253

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from SkillNerds/xskill at commit aeee7c1, republished under its MIT licence (© SkillNerds). 54 words, ~253 tokens.

Download SKILL.mdSave it as .claude/skills/xskill-registry-db-first/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
xskill-registry-db-first
description
XSkill 数据访问原则:文件系统是内容真相,由 worker 同步进库;面板与业务读 请求只走数据库;内核 agent loop 可直接写盘。适用于改 dashboard、recommend、 team、pipeline、ecosystems 等读路径,以及审查是否又引入业务侧扫盘。

XSkill 盘与库

改读数据相关代码,或审查业务请求是否又在扫盘时,先看本 skill。

各库职责与每张表的 schema 见 databases.md。

架构

整体分三层。

文件系统存内容真相,例如 skill 目录里的文件。这些内容不会在每次面板请求时被重新扫描聚合。

有 worker 定期把文件系统上需要给业务侧查询的信息同步进 SQLite。同步可以按文件是否变化做增量。新的「盘到库」需求应并进已有扫描过程,而不是再开一轮同等规模的全量遍历。

面板、对外 API、推荐与其它业务读请求,一律通过数据库访问投影后的数据。业务侧不自己搭扫盘逻辑去凑结果。

内核里的 agent loop 在跑管线时可以直接读写文件系统,这是写真相的一侧,与业务读路径分开。

规则

业务面新增或修改请求时,所需数据从对应数据库取。不允许在业务请求路径里私自增加扫盘、全目录遍历、按请求反复读盘聚合。

若发现库与盘不一致,应修同步入口,而不是在查询里临时扫盘兜底。

若有新的文件系统到数据库的同步需求,去改现有的扫描同步 worker,把新投影挂进同一次遍历。不要为每个新需求再加一轮 N 加一的全量扫盘,以保持 IO 可控。

新建业务库前先查 databases.md。已有库能覆盖的,不要平行再造一套真相。

多实例或独立 home 访问库时,路径要显式,避免误连全局默认库。

检查

  1. 这次读的数据属于哪一个库?见 databases.md。
  2. 改的是业务读路径,还是内核写盘 / worker 同步?三者不要混用扫盘策略。
  3. 若要加盘到库同步,是否已并进现有 worker 的同一轮扫描?
  4. PR 是否在面板或 API 热路径新增了扫盘?有则打回。

© SkillNerds, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/xskill-registry-db-first of SkillNerds/xskill.

  • SKILL.md
  • databases.md

Open the folder on GitHubat commit aeee7c1

Compare with similar skills

Xskill Registry DB First next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Xskill Registry DB First compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xskill Registry DB First this skillSkillNerds/xskill128—~253Automated safety check: PassMIT
Show Me Your Work Decision Logcursor/plugins10k8 repos~1.6kAutomated safety check: PassNone
Autoresearch Iteration Loopuditgoenka/autoresearch6.5k1 repos~2kAutomated safety check: PassMIT
Install Loop Engineeringcobusgreyling/loop-engineering11k1 repos~648Automated safety check: PassMIT
LoopyForward-Future/loopy3.2k—~3.9kAutomated safety check: PassMIT
AI Performance Improvement Plantanweai/pua20k2 repos~6.9kAutomated safety check: PassMIT

Similar skills

  • Official

    Keeps a TSV decision log for long or unattended agent runs, one row per decision with what, why, evidence and result, so a reviewer can check the work later.

    10k GitHub starsUsed in 8 repos~1.6k tokens
    Agent WorkflowsAuto-check passed
  • Autoresearch Iteration Loop

    uditgoenka/autoresearch

    Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.

    6.5k GitHub starsUsed in 1 repo~2k tokens
    Agent WorkflowsAuto-check passed
  • Install Loop Engineering

    cobusgreyling/loop-engineering

    Installs Loop Engineering into a project through the single @cobusgreyling/loop CLI, scaffolding a report-only loop and a readiness score.

    11k GitHub starsUsed in 1 repo~648 tokens
    Agent WorkflowsAuto-check passed
  • Loopy

    Forward-Future/loopy

    Discover, find, compare, audit, repair, adapt, craft, run, debrief, save, and prepare repeatable AI-agent loops for publication.

    3.2k GitHub stars~3.9k tokensUpdated 28 days ago
    Agent WorkflowsAuto-check passed
  • Pushes an agent to exhaust every option, investigate before asking and take initiative beyond the literal request, instead of giving up or waiting passively.

    20k GitHub starsUsed in 2 repos~6.9k tokens
    Agent WorkflowsAuto-check passed
  • LoopX Self Repair

    loopx-project/loopx

    Diagnoses surprising LoopX behavior, such as stale recommendations or tiny progress, assigns it to the responsible layer and repairs it at the lowest durable level.

    6.2k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from SkillNerds/xskill

  • Using Xskill

    SkillNerds/xskill

    A skill your agent uses when installing, configuring, or operating xskill (the xskill CLI / pip install xskill) — starting the daemon, registering trajectory dirs, joining a team server…

    128 GitHub stars~868 tokensUpdated 22 days ago
    Auto-check passed
  • Xskill Helper

    SkillNerds/xskill

    A skill your agent uses for xskill. An agent skill from SkillNerds/xskill.

    128 GitHub stars~3.4k tokensUpdated 22 days ago
    Auto-check: warnings
  • Xskill Dev

    SkillNerds/xskill

    A skill your agent uses when developing xskill itself — editing agent tool docstrings, changing the generate agent tool surface, or verifying what schema the Agno framework actually sends to the…

    128 GitHub stars~422 tokensUpdated 22 days ago
    Auto-check passed

Categories

Questions about Xskill Registry DB First

What does Xskill Registry DB First do?

XSkill 数据访问原则:文件系统是内容真相,由 worker 同步进库;面板与业务读 请求只走数据库;内核 agent loop 可直接写盘。适用于改 dashboard、recommend、 team、pipeline、ecosystems 等读路径,以及审查是否又引入业务侧扫盘。. Xskill Registry DB First is an agent skill from SkillNerds/xskill.

When should I use Xskill Registry DB First?

Xskill Registry DB First fits situations like: tasks that involve Autonomous loops.

How do I install Xskill Registry DB First in Claude Code?

Run `npx skills add SkillNerds/xskill --skill xskill-registry-db-first -a claude-code`. Or copy the skill folder (.agents/skills/xskill-registry-db-first in SkillNerds/xskill) into .claude/skills/xskill-registry-db-first in your project. Claude Code loads it when a task matches its description.

How do I install Xskill Registry DB First in Codex?

Run `npx skills add SkillNerds/xskill --skill xskill-registry-db-first -a codex`. Or copy the skill folder (.agents/skills/xskill-registry-db-first in SkillNerds/xskill) into .agents/skills/xskill-registry-db-first in your project. Codex loads it when a task matches its description.

Can I use Xskill Registry DB First in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SkillNerds/xskill --skill xskill-registry-db-first -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xskill-registry-db-first, .gemini/skills/xskill-registry-db-first, .github/skills/xskill-registry-db-first and .opencode/skills/xskill-registry-db-first in your project.

What does Xskill Registry DB First need to run?

SKILL.md names no scripts, command-line tools or credentials: Xskill Registry DB First is instructions for the agent only.

Does Xskill Registry DB First access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Xskill Registry DB First safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Xskill Registry DB First use?

Xskill Registry DB First is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xskill Registry DB First use?

About 253 tokens (SKILL.md is roughly 1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Xskill Registry DB First?

Skills that share tags, products or a category with Xskill Registry DB First: Show Me Your Work Decision Log (cursor/plugins, 10k stars), Autoresearch Iteration Loop (uditgoenka/autoresearch, 6.5k stars), Install Loop Engineering (cobusgreyling/loop-engineering, 11k stars) and Loopy (Forward-Future/loopy, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xskill Registry DB First?

SkillNerds (a GitHub organization) maintains it in SkillNerds/xskill, which has 128 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 17, 2026.

Source: SkillNerds/xskill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.