Agent skill

Drkg Query

by QSong-github in QSong-github/DrugClaw

Query the DRKG (Drug Repurposing Knowledge Graph). An agent skill from QSong-github/DrugClaw.

No licenceAuto-check passedKnowledge Management

Install Drkg Query

skills CLI
$ npx skills add QSong-github/DrugClaw --skill drkg-query -a claude-code

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

GitHub CLI
$ gh skill install QSong-github/DrugClaw drkg-query --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/QSong-github/DrugClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/drug_repurposing/drkg .claude/skills/drkg-query && 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
drkg-query
GitHub stars
116
Used in
1 other repo
Token cost
~915 tokens
SKILL.md length
328 words
Files
6
Skills in repo
31
Repo updated
First seen
Licence
None found

At a glance

Query the DRKG (Drug Repurposing Knowledge Graph). An agent skill from QSong-github/DrugClaw.

  • The user asks about drug–gene
  • SKILL.md covers Entity Format, Input Auto-Detection, API and Usage, plus 3 more sections
  • Runs Python scripts from its folder; reaches github.com
  • Other biomedical entity relationships in a knowledge-graph context

What it does

Drkg Query is an agent skill from QSong-github/DrugClaw. Query the DRKG (Drug Repurposing Knowledge Graph). Use whenever the user asks about drug–gene, drug–disease, gene–disease, or other biomedical entity relationships in a knowledge-graph context, drug repurposing candidates, COVID-19 drug repurposing, or wants to explore neighbours of any biomedical entity (compound, gene, disease, pathway, side effect, etc.) in DRKG.

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `README.md`, `__init__.py` and `drkg_skill.py`).

It sits in Knowledge Management, covering Content repurposing, Knowledge graphs and Diagrams. The repository describes itself as: 🦀 Agentic RAG for drug intelligence · 57 skills · 15 task categories · DTI · ADR · DDI · PGx · Repurposing · Powered by LangGraph.

When your agent uses it

  • The user asks about drug–gene
  • Other biomedical entity relationships in a knowledge-graph context
  • Drug repurposing candidates
  • COVID-19 drug repurposing

Example prompts

  • “/drkg-query”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit bc7b93e. 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

    Ships script files (Python), which the agent can run.

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    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

Drkg Query loads about 915 tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 328 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 328 words (~915 tokens).

“Search the Drug Repurposing Knowledge Graph (97 238 entities, 5 874 261 triplets, 107 relation types) by any entity. Auto-detects entity type by input pattern and returns all KG neighbours.”

— opening of SKILL.md by QSong-github
name
drkg-query

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files in skills/drug_repurposing/drkg of QSong-github/DrugClaw.

  • SKILL.md
  • README.md
  • __init__.py
  • drkg_skill.py
  • example.py
  • retrieve.py

Open the folder on GitHubat commit bc7b93e

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in QSong-github/DrugClaw, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Drkg Query 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.

Drkg Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Drkg Query this skillQSong-github/DrugClaw1161 repos~915Automated safety check: PassNone
Learning Visualization Skillmingchen666/Reviva237—~1.1kAutomated safety check: PassNone
Video Analysisericosiu/ai-marketing-skills3.6k—~1.3kAutomated safety check: PassMIT
Search Knowledgeindranilbanerjee/digital-marketing-pro8551 repos~2.2kAutomated safety check: PassMIT
Canvas GenerateAgriciDaniel/claude-canvas299—~2kAutomated safety check: PassMIT
Architecture Knowledge GraphBV-Venky/excalidraw-architect-mcp157—~1.1kAutomated safety check: PassMIT

Similar skills

  • Generate single-file HTML visual explanations for learning and review.

    237 GitHub stars~1.1k tokensUpdated 17 days ago
    Knowledge ManagementAuto-check passed
  • Video Analysis

    ericosiu/ai-marketing-skills

    Analyze YouTube videos or local footage using transcripts first, with silent video checks for demonstrations, delivery, editing, and clip boundaries.

    3.6k GitHub stars~1.3k tokensUpdated 15 days ago
    Knowledge ManagementAuto-check passed
  • Search Knowledge

    indranilbanerjee/digital-marketing-pro

    Search everything the brand has stored in memory — semantic, exact, or hybrid queries across a connected vector-DB MCP, an optional knowledge-graph server, and the always-available local index —…

    855 GitHub starsUsed in 1 repo~2.2k tokens
    Knowledge ManagementAuto-check passed
  • Canvas Generate

    AgriciDaniel/claude-canvas

    Builds a complete Obsidian canvas from a plain description by picking one of 12 template archetypes, planning nodes, and generating text and media for it.

    299 GitHub stars~2k tokensUpdated 6 mo ago
    Knowledge ManagementAuto-check passed
  • Architecture Knowledge Graph

    BV-Venky/excalidraw-architect-mcp

    Guide for reading a codebase and building a high-quality, persistent architecture knowledge graph via the Excalidraw Architect MCP kg tools.

    157 GitHub stars~1.1k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • Obsidian Canvas Re-Layout

    AgriciDaniel/claude-canvas

    Rearranges the nodes of an existing Obsidian Canvas with grid, dagre, radial, force-directed or linear layouts while keeping groups intact.

    299 GitHub stars~866 tokensUpdated 6 mo ago
    Knowledge ManagementAuto-check passed

More from QSong-github/DrugClaw

All 31 skills in this repo
  • Dailymed Query

    QSong-github/DrugClaw

    Query DailyMed for FDA drug label / package insert information.

    116 GitHub starsUsed in 1 repo~581 tokens
    Auto-check passed
  • Drugbank Query

    QSong-github/DrugClaw

    Query a locally downloaded DrugBank database. An agent skill from QSong-github/DrugClaw.

    116 GitHub starsUsed in 1 repo~462 tokens
    Auto-check passed
  • Drugcentral Query

    QSong-github/DrugClaw

    Query the DrugCentral drug pharmacology database. An agent skill from QSong-github/DrugClaw.

    116 GitHub starsUsed in 1 repo~710 tokens
    Auto-check passed
  • Drugmechdb Query

    QSong-github/DrugClaw

    Query the DrugMechDB drug mechanism-of-action database. An agent skill from QSong-github/DrugClaw.

    116 GitHub starsUsed in 1 repo~734 tokens
    Auto-check passed
  • Fda Orange Book Query

    QSong-github/DrugClaw

    Query or inspect the FDA Orange Book - FDA-Approved Drug Products Listing resource for drug-centric tasks with emphasis on drug knowledgebase Use whenever Codex needs the calling pattern…

    116 GitHub starsUsed in 1 repo~521 tokens
    Auto-check passed
  • Iuphar Pharmacology

    QSong-github/DrugClaw

    Query the IUPHAR/BPS Guide to Pharmacology REST API for drug targets, ligands (drugs/compounds), and their interactions.

    116 GitHub starsUsed in 1 repo~678 tokens
    Auto-check passed

Questions about Drkg Query

What does Drkg Query do?

Query the DRKG (Drug Repurposing Knowledge Graph). An agent skill from QSong-github/DrugClaw. Drkg Query is an agent skill from QSong-github/DrugClaw. Query the DRKG (Drug Repurposing Knowledge Graph).

When should I use Drkg Query?

Drkg Query fits situations like: the user asks about drug–gene; other biomedical entity relationships in a knowledge-graph context; drug repurposing candidates; COVID-19 drug repurposing.

How do I install Drkg Query in Claude Code?

Run `npx skills add QSong-github/DrugClaw --skill drkg-query -a claude-code`. Or copy the skill folder (skills/drug_repurposing/drkg in QSong-github/DrugClaw) into .claude/skills/drkg-query in your project. Claude Code loads it when a task matches its description.

How do I install Drkg Query in Codex?

Run `npx skills add QSong-github/DrugClaw --skill drkg-query -a codex`. Or copy the skill folder (skills/drug_repurposing/drkg in QSong-github/DrugClaw) into .agents/skills/drkg-query in your project. Codex loads it when a task matches its description.

Can I use Drkg Query 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 QSong-github/DrugClaw --skill drkg-query -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/drkg-query, .gemini/skills/drkg-query, .github/skills/drkg-query and .opencode/skills/drkg-query in your project.

What does Drkg Query need to run?

Going by SKILL.md and its folder, Drkg Query needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Drkg Query access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Drkg Query 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 Drkg Query use?

No licence was found for Drkg Query or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Drkg Query use?

About 915 tokens (SKILL.md is roughly 3.7k 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 Drkg Query?

Skills that share tags, products or a category with Drkg Query: Learning Visualization Skill (mingchen666/Reviva, 237 stars), Video Analysis (ericosiu/ai-marketing-skills, 3.6k stars), Search Knowledge (indranilbanerjee/digital-marketing-pro, 855 stars) and Canvas Generate (AgriciDaniel/claude-canvas, 299 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Drkg Query?

QSong-github (a GitHub user) maintains it in QSong-github/DrugClaw, which has 116 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on August 25, 2026.

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