Agent Skills
The INDvest Agent Skill (indvest-analyser) allows AI agents—such as Antigravity, Claude Code, Cursor, and custom LLM workflows—to autonomously query the INDvest data engine, extract granular SIP cash flows, and perform rolling return research.
Unlike static MCP tools that expose single function calls, the Agent Skill equips your AI assistant with the complete quantitative methodology: multi-horizon rolling analysis, point-in-time SIP-window extraction, portfolio-concentration analysis, and institutional rating reconciliation.
Download & Installation
The skill specification is available directly from this documentation site:
- Raw Skill URL:
/skills/indvest-analyser/SKILL.md
Fastest path: install with the skills.sh CLI and let it wire the skill into every agent on your machine:
npx skills add https://docs.indvest.io/skills/indvest-analyser/SKILL.md
Installation Methods
Option A: skills.sh CLI (recommended for any agent)
Installs the skill with the skills.sh CLI — the package manager for the open agent skills ecosystem. The CLI detects the agents installed on your machine (Claude Code, Codex, Cursor, Antigravity, and 75+ more) and places the skill in the right directory for each one.
# Install into the current project (auto-detects installed agents)
npx skills add https://docs.indvest.io/skills/indvest-analyser/SKILL.md
# Install globally, so it is available in every project
npx skills add https://docs.indvest.io/skills/indvest-analyser/SKILL.md -g
# Target specific agents explicitly
npx skills add https://docs.indvest.io/skills/indvest-analyser/SKILL.md -a claude-code -a codex
# Preview the skill without installing it
npx skills add https://docs.indvest.io/skills/indvest-analyser/SKILL.md --list
The install records the skill in a skills-lock.json file, so it can be refreshed later without re-running the download:
npx skills check # check whether a newer SKILL.md is available
npx skills update # pull the latest SKILL.md
To load the skill for a single session without installing it at all:
npx skills use https://docs.indvest.io/skills/indvest-analyser/SKILL.md
Requires Node.js 22.20 or later. CLI reference: skills.sh
Option B: Antigravity CLI / AGY
mkdir -p ~/.gemini/antigravity-cli/skills/indvest-analyser
curl -s https://docs.indvest.io/skills/indvest-analyser/SKILL.md \
-o ~/.gemini/antigravity-cli/skills/indvest-analyser/SKILL.md
Option C: Claude Code / Claude Desktop
mkdir -p ~/.claude/skills/indvest-analyser
curl -s https://docs.indvest.io/skills/indvest-analyser/SKILL.md \
-o ~/.claude/skills/indvest-analyser/SKILL.md
Option D: Project-Local Skill
In any project workspace or repository:
mkdir -p .skills/indvest-analyser
curl -s https://docs.indvest.io/skills/indvest-analyser/SKILL.md \
-o .skills/indvest-analyser/SKILL.md
Authentication
The skill requires an active INDvest API token. Set it in your environment:
export INDVEST_API_TOKEN="your_api_token_here"
Alternatively, save your token in a standard configuration file:
mkdir -p ~/.config/indvest
echo "your_api_token_here" > ~/.config/indvest/token
chmod 600 ~/.config/indvest/token
The agent will automatically read the token from INDVEST_API_TOKEN or ~/.config/indvest/token.
What the Skill Does
When an agent invokes indvest-analyser, it executes a 4-phase quantitative funnel:
- Category Filtering: Queries
/api/mf/get_all_mutual_fundsto isolate Direct-Growth schemes in any category (Small Cap, Mid Cap, Flexi Cap, Large Cap, Arbitrage, etc.). - Batch Rolling Comparison: Chunks scheme ISINs into batches of up to 10 and calls
/api/mf/compare_mutual_fundsto retrieve rolling-return statistics (1Y, 3Y, 5Y, 7Y mean, median, min, max, standard deviation) alongside SIP-XIRR statistics (mean, median, min, max). - Point-in-Time Trailing Extraction: Fetches
/api/mf/get_mutual_fund_details/{id}and reads the newest trailing SIP window fromxirrMetricsFromDailyNAVData.dataset. Note this is a single large JSON response, not a streaming endpoint — use/api/mf/get_mutual_fund_nav_history/{isin}when you only need NAV rows. - Attribution & Concentration Analysis: Cross-references historical performance against portfolio-concentration measures (holdings count, top-10 stock weight from
/api/mf/portfolio_overlap, pairwise overlap from/api/mf/fund_overlap) and external institutional quality ratings (CRISIL, Morningstar). AUM is not available from the API, and the skill is instructed never to infer it.
Example Prompts for Your AI Agent
Once installed, you can prompt your AI agent directly:
1. Multi-Horizon Small-Cap Screening
“Using the indvest-analyser skill, screen all active Small Cap funds. Filter for funds ranking in the top 15 on both trailing 1-year SIP XIRR and mean 1-year rolling return. Include their TER and number of portfolio holdings, and flag any funds with high pairwise overlap.”
2. Flexi-Cap vs. Index Benchmark
“Compare the top 5 Flexi Cap funds on INDvest by 5-year rolling-return consistency against their mapped NIFTY benchmark (price-return). Show the percentage of rolling windows beating the benchmark.”
3. Overlap & Concentration Study
“Take the ten highest-scoring mid-cap funds and report pairwise portfolio overlap plus each fund’s top-10 stock concentration. Are the top-ranked funds effectively holding the same portfolio?”
Full Skill Specification (SKILL.md)
The canonical specification is the file served at
/skills/indvest-analyser/SKILL.md. Fetch
it rather than copying from this page:
curl -s https://docs.indvest.io/skills/indvest-analyser/SKILL.md
It is a single Markdown file with YAML frontmatter (name, description,
license, allowed-tools, and metadata.version) followed by four sections:
Operating Objectives, Non-Negotiable Rules & Security, the INDvest Data Engine
Protocol (base URL, auth header, error shape, rate limit, and the core
endpoints), and the four-phase execution workflow.
Earlier versions of this page inlined a condensed copy of the skill. That copy drifted out of sync with the real file, so it has been removed in favour of the canonical link above — the file is the single source of truth.