Agent skill

Agenticx Query Data Source

by DemonDamon in DemonDamon/AgenticX

A skill your agent uses when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come…

Apache-2.0Auto-check passedLegal & Compliance

Install Agenticx Query Data Source

skills CLI
$ npx skills add DemonDamon/AgenticX --skill agenticx-query-data-source -a claude-code

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

GitHub CLI
$ gh skill install DemonDamon/AgenticX agenticx-query-data-source --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/DemonDamon/AgenticX.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agenticx/skills/agenticx-query-data-source .claude/skills/agenticx-query-data-source && 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
agenticx-query-data-source
GitHub stars
294
Token cost
~1.5k tokens
SKILL.md length
587 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come…

  • Works in 3 steps: list_data_sources(domain="finance") —… → query_data_source(data_source_name=...,… → For time-series results (price history,…
  • The user asks about verifiable quantitative facts (stock prices
  • SKILL.md covers When to use, How to call, Example calls and Fallback discipline, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agenticx Query Data Source is an agent skill from DemonDamon/AgenticX. Use when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come from a live data source rather than training memory.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Legal & Compliance, covering Legal research. The repository describes itself as: AgenticX is a unified, production-ready multi-agent platform — Python SDK + CLI (agx) + Studio server + Machi desktop app. Features Meta-Agent orchestration, 15+ LLM providers… The licence is Apache-2.0.

When your agent uses it

  • The user asks about verifiable quantitative facts (stock prices
  • Financial indicators
  • Company registry
  • Academic metrics

Example prompts

  • “/agenticx-query-data-source”

Workflow steps

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

  1. list_data_sources(domain="finance") — discover enabled plugins and api_name values.
  2. query_data_source(data_source_name=..., api_name=..., params={...}) — fetch structured JSON.
  3. For time-series results (price history, macro trend), must follow with show_widget

What it can do on your machine

Read from SKILL.md and the folder at commit c1af2c7. 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 (its code samples are json).

    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

Agenticx Query Data Source loads about 1.5k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 587 words of instructions outside code blocks.

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

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 DemonDamon/AgenticX at commit c1af2c7, republished under its Apache-2.0 licence (© DemonDamon). 587 words, ~1,513 tokens.

Download SKILL.mdSave it as .claude/skills/agenticx-query-data-source/SKILL.md (or your agent's skills folder).
name
agenticx-query-data-source
description
Use when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come from a live data source rather than training memory.
metadata.author
AgenticX
metadata.version
1.0.0

Query Data Source

When to use

  • Any question about stock price, financial indicators, macro economic data, company registry, academic citation counts, or legal statute text that has a real, checkable current value.
  • Do NOT answer from training memory for these categories — training data is stale and the user can verify against a real source.
  • Call list_data_sources first when unsure which plugin or API fits (optional domain: finance / macro / academic / enterprise / legal).

How to call

  1. list_data_sources(domain="finance") — discover enabled plugins and api_name values.
  2. query_data_source(data_source_name=..., api_name=..., params={...}) — fetch structured JSON.
    • Default chart window: days: 60 (≈3 个月交易日). A candlestick chart with only 5–10 bars looks sparse/empty in the chat widget, so this is the default for any "走势/行情/表现如何" style question — including casual phrasing like "最近一周走势" (interpret as "show me how it's been doing lately", not literally 5 trading days).
    • Only request a shorter window when the user gives an unambiguous analytical ask for an exact short range (e.g. "对比昨天和前天的收盘价" or "最近3个交易日的具体数字"). Map common asks: 1个月→days:20, 3个月→days:60(默认), 6个月→days:120, 1年→days:250.
  3. For time-series results (price history, macro trend), must follow with show_widget:
    • Prefer structured JSON (Desktop renders via ECharts):
    • The top-level "type": "stock_chart" field is MANDATORY. Omitting it makes the Desktop client treat the payload as a generic HTML widget and render the raw JSON text instead of a chart — always double-check this field is present before calling show_widget.

Single stock:

json
{
  "type": "stock_chart",
  "title": "火炬电子 603678",
  "chart_type": "candlestick",
  "data_source_label": "获取数据 | AkShare(免费行情)",
  "points": [
    {"date": "2026-07-01", "open": 80, "high": 90, "low": 78, "close": 85, "volume": 120000}
  ],
  "attribution": "数据来源:AkShare"
}

Multiple focused stocks (Kimi-style tabs — user can switch 火炬电子 / 祥鑫科技 / 天齐锂业):

json
{
  "type": "stock_chart",
  "data_source_label": "获取数据 | AkShare(免费行情)",
  "attribution": "数据来源:AkShare",
  "watchlist": [
    {
      "symbol": "603678.SH",
      "name": "火炬电子",
      "chart_type": "candlestick",
      "points": [{"date": "2026-07-03", "open": 81.26, "high": 89.4, "low": 77.93, "close": 85.48, "volume": 42942215}]
    },
    {
      "symbol": "002965.SZ",
      "name": "祥鑫科技",
      "chart_type": "candlestick",
      "points": [...]
    },
    {
      "symbol": "002466.SZ",
      "name": "天齐锂业",
      "chart_type": "candlestick",
      "points": [...]
    }
  ]
}

When the user mentions several tickers they are tracking, fetch each via query_data_source and pass one show_widget with a watchlist array — do not render three separate widgets.

CRITICAL — never hand-roll HTML/ECharts for stock charts. Always pass the structured stock_chart JSON (single points or watchlist). The Desktop client has a dedicated, theme-aware StockChartWidget (dark/light adaptive tabs, 红涨绿跌, quote header). Hand-written <div>+ECharts <script> HTML produces broken results (e.g. white tab text on white background, sparse charts) and must not be used for stock/candlestick data.

Copy the OHLCV rows from the query_data_source result verbatim into points — the result is already trimmed to date/open/high/low/close/volume and the full window (e.g. 60 rows) fits, so there is no need to re-query with a smaller days. If a result ever looks truncated, use whatever rows you have; do NOT loop re-querying the same symbol.

  • Macro trends: same shape with "chart_type": "line" and points like {"date": "2021", "value": 8.1}.
  1. Workflow (same as show_widget discipline): 1–3 sentences visible intro → query_data_source → show_widget → interpret numbers from tool output only.
Show full SKILL.md (179 more words)Show less

Example calls

User intentdata_source_nameapi_nameparams notes
A-share K-line / recent trendaksharestock_price_historysymbol: 6-digit code without exchange suffix (e.g. 603678, not 603678.SH); market: a; days: 60 default (3 个月), 20/120/250 for 1mo/6mo/1yr
A-share snapshotaksharestock_realtime_quotesymbol: 603678
China / global macroworld_banksee list_data_sourcescountry/indicator codes from API schema
IMF indicatorsimfsee list_data_sourcesper plugin schema
Tushare (needs MCP)tushareper MCP toolsrequires connected tushareMcp in settings
iFinD (enterprise)ifindper plugincredential-gated; often unavailable on desktop

Map query_data_source OHLCV rows to stock_chart.points (normalize date/open/high/low/close/volume field names from the JSON).

Fallback discipline

  • MissingCredentialError or connection failure on ifind / tushare → try free sources (akshare, world_bank, imf) before giving up.
  • Tushare without MCP → tell user to connect tushareMcp in Desktop settings; do not invent prices.
  • If all applicable sources fail: say explicitly 「当前数据源暂不可用,无法核实最新数据」. Never substitute a remembered or guessed number.

Known plugins (authoritative list: list_data_sources)

domainpluginnotes
financeaksharefree, no credential, A/HK/US history & A-share quote
financetusharerequires connected tushareMcp
financeifindenterprise-only, credential-gated
macroworld_bankfree, global development indicators
macroimffree macro indicators

© DemonDamon, 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

Files

Just SKILL.md in agenticx/skills/agenticx-query-data-source of DemonDamon/AgenticX.

Open the folder on GitHubat commit c1af2c7

Compare with similar skills

Agenticx Query Data Source 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.

Agenticx Query Data Source compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agenticx Query Data Source this skillDemonDamon/AgenticX294—~1.5kAutomated safety check: PassApache-2.0
Tw Legal RAGaa0101181514/tw-legal-rag327—~580Automated safety check: PassCustom licence
Design Award SearchSeanJ1ang/design-judge-skills712—~3kAutomated safety check: PassApache-2.0
China Lawyer AnalystCSlawyer1985/china-lawyer-analyst194—~3.3kAutomated safety check: PassNone
Billing And Litigation BudgetTHUYRan/Legal-Skills-Chinese868—~5kAutomated safety check: PassNone
Hard Predict Futuredavepoon/buildwithclaude3.6k1 repos~4.2kAutomated safety check: PassMIT

Similar skills

  • Tw Legal RAG

    aa0101181514/tw-legal-rag

    Retrieve real Taiwan court judgments with verifiable citations before answering any question about Taiwan law or case law.

    327 GitHub stars~580 tokensUpdated 4 days ago
    Legal & ComplianceAuto-check passed
  • Design Award Search

    SeanJ1ang/design-judge-skills

    Find and verify award-winning designs in the same or adjacent functional category through eight explicit relevance dimensions: problem and user, core function, sensing technology, intervention…

    712 GitHub stars~3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • China Lawyer Analyst

    CSlawyer1985/china-lawyer-analyst

    通过中国法律视角分析事件,运用成文法解释、指导案例参照、请求权基础分析等方法, 理解权利义务、评估责任风险、识别法律依据并推荐合规策略。

    194 GitHub stars~3.3k tokensUpdated 8 mo ago
    Legal & ComplianceAuto-check passed
  • Billing And Litigation Budget

    THUYRan/Legal-Skills-Chinese

    A skill your agent uses when the user needs to track or manage attorney hours, expert fees, and investigation costs; control litigation spend; or prepare timesheets or expense statements for clients.

    868 GitHub stars~5k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Hard Predict Future

    davepoon/buildwithclaude

    Activate this agent for any future-oriented question that requires deep quantitative analysis, historical precedents, and structured scenario planning.

    3.6k GitHub starsUsed in 1 repo~4.2k tokens
    Legal & ComplianceAuto-check passed
  • Legal Issue Research

    Golden2002/legal-research-skill

    中国法律全领域系统性检索专家. An agent skill from Golden2002/legal-research-skill.

    155 GitHub stars~6.8k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from DemonDamon/AgenticX

All 17 skills in this repo
  • Code Module Summaries

    DemonDamon/AgenticX

    A skill your agent uses when scanning an arbitrary Git repository to create, refresh, or selectively update Markdown summaries of code modules, especially when changes must be traced from each…

    294 GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Agenticx A2a Connector

    DemonDamon/AgenticX

    Guide for using the A2A (Agent-to-Agent) communication protocol in AgenticX including agent discovery, skill invocation, remote agent cards, and distributed agent systems.

    294 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Agenticx Agent Builder

    DemonDamon/AgenticX

    Guide for creating persistent Near desktop digital avatars (数字分身) via natural-language interview and the createavatar tool.

    294 GitHub stars~893 tokensUpdated today
    Auto-check passed
  • Agenticx Deployer

    DemonDamon/AgenticX

    Guide for deploying AgenticX agents to production including Docker containerization, Kubernetes orchestration, Volcengine AgentKit cloud deployment, and API server setup.

    294 GitHub stars~866 tokensUpdated today
    Auto-check passed
  • Agenticx Memory Architect

    DemonDamon/AgenticX

    Guide for setting up and using the AgenticX memory system including Mem0 integration, long-term memory, context management, and memory-enhanced agents.

    294 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agenticx Quickstart

    DemonDamon/AgenticX

    AgenticX zero-to-hero quickstart guide. An agent skill from DemonDamon/AgenticX.

    294 GitHub stars~777 tokensUpdated today
    Auto-check passed

Questions about Agenticx Query Data Source

What does Agenticx Query Data Source do?

A skill your agent uses when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come…. Agenticx Query Data Source is an agent skill from DemonDamon/AgenticX. Use when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come from a live data source rather than training memory.

When should I use Agenticx Query Data Source?

Agenticx Query Data Source fits situations like: the user asks about verifiable quantitative facts (stock prices; financial indicators; company registry; academic metrics.

How do I install Agenticx Query Data Source in Claude Code?

Run `npx skills add DemonDamon/AgenticX --skill agenticx-query-data-source -a claude-code`. Or copy the skill folder (agenticx/skills/agenticx-query-data-source in DemonDamon/AgenticX) into .claude/skills/agenticx-query-data-source in your project. Claude Code loads it when a task matches its description.

How do I install Agenticx Query Data Source in Codex?

Run `npx skills add DemonDamon/AgenticX --skill agenticx-query-data-source -a codex`. Or copy the skill folder (agenticx/skills/agenticx-query-data-source in DemonDamon/AgenticX) into .agents/skills/agenticx-query-data-source in your project. Codex loads it when a task matches its description.

Can I use Agenticx Query Data Source 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 DemonDamon/AgenticX --skill agenticx-query-data-source -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agenticx-query-data-source, .gemini/skills/agenticx-query-data-source, .github/skills/agenticx-query-data-source and .opencode/skills/agenticx-query-data-source in your project.

What does Agenticx Query Data Source need to run?

SKILL.md names no scripts, command-line tools or credentials: Agenticx Query Data Source is instructions for the agent only.

Does Agenticx Query Data Source 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 Agenticx Query Data Source 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 Agenticx Query Data Source use?

Agenticx Query Data Source 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.

How many tokens does Agenticx Query Data Source use?

About 1.5k tokens (SKILL.md is roughly 6.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 Agenticx Query Data Source?

Skills that share tags, products or a category with Agenticx Query Data Source: Tw Legal RAG (aa0101181514/tw-legal-rag, 327 stars), Design Award Search (SeanJ1ang/design-judge-skills, 712 stars), China Lawyer Analyst (CSlawyer1985/china-lawyer-analyst, 194 stars) and Billing And Litigation Budget (THUYRan/Legal-Skills-Chinese, 868 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agenticx Query Data Source?

DemonDamon (a GitHub user) maintains it in DemonDamon/AgenticX, which has 294 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 8, 2026.

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