graphjin: Skill for Claude Code

.claude/skills/add-graphjin-database/SKILL.md

add-graphjin-database is a skill for Claude Code, Codex from dosco/graphjin. It costs 60 tokens per session (811 once invoked), scanned A, original, Apache-2.0.

A workflow for adding support for a new GraphJin database, data warehouse, or CQL/NoSQL system. GraphJin is software that translates data requests for different database backends.

In plain words
What is it for?
It guides database research, simulator creation when no live service is available, dialect and schema-discovery work, tests, scripts, documentation, and website updates.
Why use it?
It helps prevent incomplete database support, where a connector works in one place but lacks discovery, configuration, tests, documentation, or public support details.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present.

This is dosco/graphjin's own configuration. It tells Claude Code and Codex how to work on graphjin itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything graphjin configures →

About the project

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.

dosco/graphjin · 3,234 stars · on GitHub · graphjin.com

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/dosco/graphjin/master/.claude/skills/add-graphjin-database/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dosco/graphjin

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for add-graphjin-database

README.md
[![agentmods](https://agentmods.dev/badge/skills/dosco/graphjin/add-graphjin-database/github.svg)](https://agentmods.dev/skills/dosco/graphjin/add-graphjin-database)
Your own site
<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.

agentmods 80×15 button for add-graphjin-database

Your own site · 80×15
<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>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash 2a7f6f01506a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.claude/skills/add-graphjin-database/SKILL.md · 46 lines

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

  1. 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.
  2. Build a simulator first when live service access is unavailable or slow.

    • Add tests/hostedemu/<db> and tests/<db>emu around hostedemu.NewConnector.
    • Add tests/<db>.sql using 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.
  3. 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, and scripts/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.

Read the full file on GitHub · 46 lines

Files

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.

Changes

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.

  1. 2mo ago First seen · 46 lines · 60 tokens per session scan A 2a7f6f01506a

Subscribe to this mod's changes

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.

Related

add-graphjin-database compared with skills from other repositories

add-graphjin-database next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-graphjin-databasedosco/graphjinSkill3.2k5d agoApache-2.0A60Claude Code, Codex
sql-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A66Claude Code
database-queryglincker/claude-code-marketplaceSkill381mo agoApache-2.0A19Claude Code
Database Schema ReviewerNotysoty/openagentskillsSkill92mo agoMITA22Claude Code, Codex
database-querychainlesschain/chainlesschainSkill11todaynoneA32Claude Code
database-sqlasgarovf/locusaiSkill238mo agoMITA35Claude Code
sqlmiles990/claude-software-skillsSkill269mo agoMITA9Claude Code, Codex