Wiki Export
Ar9av/obsidian-wiki
Export the Obsidian wiki graph to JSON, GraphML, Neo4j Cypher, Postgres/SQL, HTML, or OKF bundles.
AnyLine数据库操作开发规范,涵盖动态数据源注册切换注销、DDL动态建表改表、DML增删改与事务管理、DQL动态查询与聚合统计、元数据管理、查询结果集的聚合、过滤、格式转换等数学计算,AnyLine方法内部会自动适配100+数据库方言,调用方法时忽略不同数据库差异。
$ npx skills add anylineorg/anyline --skill anyline -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install anylineorg/anyline anyline --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/anylineorg/anyline.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.ai/skills/anyline .claude/skills/anyline && rm -rf skills-srcUse ~/.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/
Install the "anyline" agent skill from https://github.com/anylineorg/anyline/tree/master/.ai/skills/anyline into .claude/skills/anyline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anyline", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/anylineorg/anyline/tree/master/.ai/skills/anylineType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add anylineorg/anyline --skill anyline -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install anylineorg/anyline anyline --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anylineorg/anyline.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.ai/skills/anyline .agents/skills/anyline && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "anyline" agent skill from https://github.com/anylineorg/anyline/tree/master/.ai/skills/anyline into .agents/skills/anyline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anyline", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anylineorg/anyline --skill anyline -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install anylineorg/anyline anyline --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anylineorg/anyline.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.ai/skills/anyline .cursor/skills/anyline && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "anyline" agent skill from https://github.com/anylineorg/anyline/tree/master/.ai/skills/anyline into .cursor/skills/anyline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anyline", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/anylineorg/anyline.git --path .ai/skills/anyline--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add anylineorg/anyline --skill anyline -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install anylineorg/anyline anyline --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anylineorg/anyline.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.ai/skills/anyline .gemini/skills/anyline && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "anyline" agent skill from https://github.com/anylineorg/anyline/tree/master/.ai/skills/anyline into .gemini/skills/anyline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anyline", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install anylineorg/anyline anylineInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add anylineorg/anyline --skill anyline -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/anylineorg/anyline.git skills-src && mkdir -p .github/skills && cp -r skills-src/.ai/skills/anyline .github/skills/anyline && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "anyline" agent skill from https://github.com/anylineorg/anyline/tree/master/.ai/skills/anyline into .github/skills/anyline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anyline", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anylineorg/anyline --skill anyline -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install anylineorg/anyline anyline --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anylineorg/anyline.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.ai/skills/anyline .opencode/skills/anyline && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "anyline" agent skill from https://github.com/anylineorg/anyline/tree/master/.ai/skills/anyline into .opencode/skills/anyline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anyline", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
anylineAnyLine数据库操作开发规范,涵盖动态数据源注册切换注销、DDL动态建表改表、DML增删改与事务管理、DQL动态查询与聚合统计、元数据管理、查询结果集的聚合、过滤、格式转换等数学计算,AnyLine方法内部会自动适配100+数据库方言,调用方法时忽略不同数据库差异。
Anyline is an agent skill from anylineorg/anyline. AnyLine数据库操作开发规范,涵盖动态数据源注册切换注销、DDL动态建表改表、DML增删改与事务管理、DQL动态查询与聚合统计、元数据管理、查询结果集的聚合、过滤、格式转换等数学计算,AnyLine方法内部会自动适配100+数据库方言,调用方法时忽略不同数据库差异。
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including reference files (for example `references/authorize.md`, `references/condition.md` and `references/datarow.md`).
It sits in Databases, covering SQL. It works with SQL and Neo4j. The repository describes itself as: 运行时动态注册切换数据源,自动生成SQL(DDL/DML/DQL),读写元数据,对比数据库结构差异。适配100+关系/非关系数据库。 常用于动态场景的底层支持,如:数据中台、可视化、低代码后台、工作流、自定义表单、异构数据库迁移同步、数据血缘、运行时自定义报表/查询条件/数据结构等. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e20f9f2. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are java).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
DEFAULT_PRIMARY_KEYIS_UPPER_KEYIS_LOWER_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Anyline loads about 1.3k tokens when it runs, and up to ~65k if it reads all its reference files. Until then it costs about 36 tokens; SKILL.md has 154 words of instructions outside code blocks.
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.
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.
The full file from anylineorg/anyline at commit e20f9f2, republished under its Apache-2.0 licence (© anylineorg). 154 words, ~1,316 tokens.
.claude/skills/anyline/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.AnyLine 是一个元数据驱动的动态数据管理框架,核心能力是通过统一 API 完成所有数据库操作,由框架内部自动适配 100+ 种数据库并屏蔽数据库间的语法差异,运行时自动生成适配目标数据库的原生 SQL。 你作为一个精通 AnyLine 的专家在生成 AnyLine 相关代码时,需要注意:
references/ 文件夹中找到对应的详细 API 文档。AnyLine 支持多种非关系型数据库和特殊数据源,通过统一的 API 进行操作:
anyline-data-neo4j 或 anyline-data-jdbc-neo4j 模块支持anyline-data-nebula 模块支持anyline-data-tugraph 模块支持service.selects() 等方法,框架自动生成 Cypher 或 nGQLanyline-data-mongodb 模块支持anyline-data-dify 模块支持,用于 RAG 文档检索anyline-data-coze 模块支持anyline-data-jdbc-elasticsearch 模块支持anyline-data-jdbc-cassandra 模块支持anyline-data-hbase 模块支持// 获取指定数据源的 Service
AnylineService crmService = ServiceProxy.service("crm");
crmService.select("CRM_USER");
// 获取默认数据源的 Service
AnylineService defService = ServiceProxy.service();
defService.select("HR_USER");// 在表名前添加数据源名称,仅当前查询有效
service.select("<crm>CRM_USER");// 创建临时数据源,用完自动回收
DataSource ds = DataSourceUtil.build(...);
AnylineService service = ServiceProxy.temporary(ds);
service.select("CRM_USER");// 根据数据库类型创建虚拟数据源,用于生成SQL脚本
AnylineService service = ServiceProxy.service(DatabaseType.POSTGRESQL);
ConfigStore configs = new DefaultConfigStore();
service.selects("CRM_USER", configs);
List<Run> runs = configs.runs();
// 获取生成的 PostgreSQL SQLSQL执行过程中,在控制台或日志文件中会生成带占位符的日志。
如果需要在执行完成后返回SQL(DQL DDL DML),可以在service调用的方法中添加ConfigStore参数
在执行完成后从ConfigStore中获取执行的SQL,
因为执行的SQL可能是多条,所以会返回一个List<Run>集合,
默认情况下Run中的SQL是带占位符的,与占位值分开存储
List<Run> runs = configs.runs();
for (Run run:runs){
System.out.println("无占位符 sql:"+run.getFinalQuery(false));
System.out.println("有占位符 sql:"+run.getFinalQuery());
System.out.println("占位values:"+run.getValues());
}如果只需要生成SQL,但不执行,可以调用相应的adapter.buildQueryRun/buildDeleteRun等方法 返回的Run与以上操作相同
因为adapter平时不常用,所以许多人对此不太熟悉,也可以在ConfigStore上调用execute(false)方法
然后调用service.selects/insert/save/update()时提供这个ConfigStore这样querys/insert/save/update等执行后实际SQL并没有执行,只是把生成的SQL保存到了configs.runs
ConfigStore configs = new DefaultConfigStore().execute(false);//false表示最后实际操作数据库的一步不执行
DataSet set = service.selects(table, configs);
System.out.println(set);//因为最后一步没有执行,所以这里应该输出空集合
List<Run> runs = configs.runs();
for (Run run:runs){
System.out.println("无占位符 sql:"+run.getFinalQuery(false));
System.out.println("有占位符 sql:"+run.getFinalQuery());
System.out.println("占位values:"+run.getValues());
}DDL也类似,因为DDL执行过程中有元数据的对象所以execute(false)在metadata(table/column等)上执行
Table table = service.metadata().table("sso_user"); //获取表结构
table.execute(false);//不执行SQL
service.ddl().create(table);
List<Run> runs = table.runs(); //返回创建表的DDL
for (Run run : runs){
String sql = run.getFinalUpdate();
System.out.println(sql);
}通过 ConfigTable 可以设置全局配置:
// 主键默认列名
ConfigTable.DEFAULT_PRIMARY_KEY = "ID";
// 是否自动检测元数据
ConfigTable.IS_AUTO_CHECK_METADATA = true;
// 元数据缓存时间(秒)
ConfigTable.METADATA_CACHE_SECOND = 3600 * 24;
// 是否返回空实例替代null
ConfigTable.IS_RETURN_EMPTY_INSTANCE_REPLACE_NULL = true;
// 列名大小写处理
ConfigTable.IS_UPPER_KEY = true; // 列名转大写
ConfigTable.IS_LOWER_KEY = false; // 列名转小写
// 空值处理
ConfigTable.IS_INSERT_NULL_COLUMN = false;
ConfigTable.IS_UPDATE_NULL_COLUMN = false;
ConfigTable.IS_INSERT_EMPTY_COLUMN = false;
ConfigTable.IS_UPDATE_EMPTY_COLUMN = false;service.insert(200, table, set)© anylineorg, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 13 other files (references) in .ai/skills/anyline of anylineorg/anyline.
Open the folder on GitHubat commit e20f9f2
Anyline 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Anyline this skillanylineorg/anyline | 346 | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Wiki ExportAr9av/obsidian-wiki | 3.5k | — | ~6.9k | Automated safety check: Notes | MIT | |
| Evolving The Data ModelTriliumNext/Trilium | 38k | — | ~2.1k | Automated safety check: Pass | AGPL-3.0 | |
| SQL Database Support for pRESTprest/prest | 4.6k | — | ~1.6k | Automated safety check: Pass | MIT | |
| StarRocks SQL Doc Auto-FixStarRocks/starrocks | 12k | — | ~7.6k | Automated safety check: Notes | Apache-2.0 | |
| Chdb SQLvemetric/vemetric | 394 | 1 repos | ~1.2k | Automated safety check: Pass | Apache-2.0 |
Ar9av/obsidian-wiki
Export the Obsidian wiki graph to JSON, GraphML, Neo4j Cypher, Postgres/SQL, HTML, or OKF bundles.
TriliumNext/Trilium
A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…
prest/prest
Guides classifying, gap-analyzing and scaffolding support for a new SQL database in pREST, from Postgres-compatible variants to entirely new dialects.
StarRocks/starrocks
Proposes verified fixes for failing SQL examples in StarRocks docs across three languages and several versions, then opens draft pull requests and never merges.
vemetric/vemetric
A skill your agent uses when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse…
noobnooc/agent
Pre-launch and pre-commit audit for vibe coding projects. An agent skill from noobnooc/agent.
Categories
AnyLine数据库操作开发规范,涵盖动态数据源注册切换注销、DDL动态建表改表、DML增删改与事务管理、DQL动态查询与聚合统计、元数据管理、查询结果集的聚合、过滤、格式转换等数学计算,AnyLine方法内部会自动适配100+数据库方言,调用方法时忽略不同数据库差异。. Anyline is an agent skill from anylineorg/anyline.
Anyline fits situations like: tasks that involve SQL.
Run `npx skills add anylineorg/anyline --skill anyline -a claude-code`. Or copy the skill folder (.ai/skills/anyline in anylineorg/anyline) into .claude/skills/anyline in your project. Claude Code loads it when a task matches its description.
Run `npx skills add anylineorg/anyline --skill anyline -a codex`. Or copy the skill folder (.ai/skills/anyline in anylineorg/anyline) into .agents/skills/anyline in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anylineorg/anyline --skill anyline -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/anyline, .gemini/skills/anyline, .github/skills/anyline and .opencode/skills/anyline in your project.
Going by SKILL.md and its folder, Anyline needs credentials named DEFAULT_PRIMARY_KEY, IS_UPPER_KEY and IS_LOWER_KEY. Our summary lists: A credential in DEFAULT_PRIMARY_KEY; A credential in IS_UPPER_KEY.
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.
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.
Anyline is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 63k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Anyline: Wiki Export (Ar9av/obsidian-wiki, 3.5k stars), Evolving The Data Model (TriliumNext/Trilium, 38k stars), SQL Database Support for pREST (prest/prest, 4.6k stars) and StarRocks SQL Doc Auto-Fix (StarRocks/starrocks, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
anylineorg (a GitHub user) maintains it in anylineorg/anyline, which has 346 GitHub stars. The repository was last updated on October 5, 2026.
Source: anylineorg/anyline on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.