GraphJin is a compiler and runtime that gives AI agents a governed graph-based way to work with databases, files, source code, workflows, and other systems through GraphQL and MCP. It is also used as a GraphQL-to-database service, API gateway, Go library, and real-time subscription server. The catalogue add-ons connect agents to GraphJin or support its agent workflow.
Borrowing it
Nothing to install: this file belongs to dosco/graphjin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dosco/graphjin/master/.claude/skills/add-graphjin-database/SKILL.mdgit clone --depth 1 https://github.com/dosco/graphjinWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dosco/graphjin/add-graphjin-database)<a href="https://agentmods.dev/skills/dosco/graphjin/add-graphjin-database"><img src="https://agentmods.dev/badge/skills/dosco/graphjin/add-graphjin-database/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dosco/graphjin/add-graphjin-database"><img src="https://agentmods.dev/badge/skills/dosco/graphjin/add-graphjin-database.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00060 | $0.00811 |
| Opus 5.5 | $0.00024 | $0.00324 |
| Sonnet 5.5 | $0.00012 | $0.00162 |
| Haiku 4.5 | $0.00006 | $0.00081 |
Grade A, and why
add-graphjin-database scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add GraphJin Database
Use this skill to add a database end to end without leaving half-public support behind. GraphJin is a compiler, not a resolver stack: push behavior into dialect, discovery, schema metadata, and tests.
Workflow
-
Ground in docs and repo truth.
- Read the database's official SQL, DDL, type, catalog, and limitations docs before coding.
- Inspect existing GraphJin seams: config validation, dialect factory, introspection,
tests/dbint_test.go, hosted emulators, scripts, README, CONFIG, FEATURES, and website components. - Decide and state the public support level: experimental queries, mutations, subscriptions, full support, or simulator-only.
-
Build a simulator first when live service access is unavailable or slow.
- Add
tests/hostedemu/<db>andtests/<db>emuaroundhostedemu.NewConnector. - Add
tests/<db>.sqlusing database-native DDL, types, constraints, and metadata features. - Keep parser/translator code owned by the target database. Reuse hosted emulator patterns, not another database's grammar, unless docs prove the syntax is identical.
- Translate setup and discovery into DuckDB, but expose the database's real discovery surfaces.
- Add parser, type mapping, metadata, discovery, wrapper, default-fixture, and large-catalog tests.
- Add
-
Use the simulator to build public support.
- Register the DB type in
core/config.go, the psql dialect factory, subscription dialect lookup, introspection switches, and schema-DDL/diff code if public DDL support is claimed. - Add a DB-owned dialect. Inherit behavior only after target-specific tests prove it.
- Add discovery using the docs-recommended catalog path first, with fallbacks only where needed.
- Wire
tests/dbint_test.go, focused skip helpers for unsupported features, andscripts/test-<db>.sh. - Keep GraphJin's collision-free managed artifact SQLite database runtime-only. Its identifier is allocated at startup and must never become an application source, primary database candidate, catalog source, or security-report database.
- Register the DB type in
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 46 lines · 60 tokens per session scan A 2a7f6f01506a
add-graphjin-database is a skill published in the GitHub repository dosco/graphjin (3,234 stars, last pushed 5d ago), licensed Apache-2.0. It adds 60 tokens to every session and 811 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
add-graphjin-database compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-graphjin-databasedosco/graphjin | Skill | 3.2k | 5d ago | Apache-2.0 | A | 60 | Claude Code, Codex |
| sql-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 66 | Claude Code |
| database-queryglincker/claude-code-marketplace | Skill | 38 | 1mo ago | Apache-2.0 | A | 19 | Claude Code |
| Database Schema ReviewerNotysoty/openagentskills | Skill | 9 | 2mo ago | MIT | A | 22 | Claude Code, Codex |
| database-querychainlesschain/chainlesschain | Skill | 11 | today | none | A | 32 | Claude Code |
| database-sqlasgarovf/locusai | Skill | 23 | 8mo ago | MIT | A | 35 | Claude Code |
| sqlmiles990/claude-software-skills | Skill | 26 | 9mo ago | MIT | A | 9 | Claude Code, Codex |