knowledgelm-nse
npx skills add https://github.com/eggmasonvalue/knowledgelm-nse --skill knowledgelm-nse
Agent 安装分布
Skill 文档
KnowledgeLM NSE
Batch download Indian company filings from NSE and optionally integrate with NotebookLM.
Installation
Check if installed: knowledgelm --version
If not: uv tool install knowledgelm
To upgrade: uv tool upgrade knowledgelm
Skill Upgrade
To keep this skill up-to-date, run:
npx skills update
Command Discovery
Use --help extensively to discover current options and flags.
knowledgelm --help
knowledgelm download --help
knowledgelm list-files --help
Core Workflow
1. Gather Required Information
NSE Symbol: If not provided, use web_search to find it.
Date Range: If not provided, ask for clarification. Accept various formats:
- Explicit:
"2023-01-01 to 2025-01-26","2023 to 2025","from 2023" - Relative:
"last 2 years" - Milestones:
"Since IPO","since <event>"(useweb_searchto resolve dates)
Convert to YYYY-MM-DD for CLI.
Categories: Default to all categories if not specified. Use --annual-reports-all by default.
2. Download Filings
Use knowledgelm download with appropriate flags. Files save to ./{SYMBOL}_filings/.
3. List Files (if needed)
Use knowledgelm list-files with --json flag to get file paths (excludes .pkl cookies).
NotebookLM Integration
If user wants to create a NotebookLM notebook:
1. Ensure Latest Package Version
Check if installed and upgrade to latest:
notebooklm --version
If not installed:
uv tool install notebooklm-py
If installed, upgrade to latest:
uv tool upgrade notebooklm-py
Browser extras (for first-time setup): If user hasn’t authenticated with NotebookLM before, they need browser login support:
uv tool install --reinstall "notebooklm-py[browser]"
playwright install chromium
2. Update Skill to Latest Version
Always run notebooklm skill install to ensure skill is current:
notebooklm skill install
This installs/updates to the default directory (typically ~/.claude/skills/notebooklm/).
Important: Do NOT delete this directory – it’s used for version tracking.
3. Copy to Your Skills Directory (if different)
If your AI agent uses a different skills directory, copy the installed skill there. The install directory path is shown in the skill install output.
4. Create Notebook
Use the notebooklm skill to create notebook and add downloaded files as sources (exclude .pkl files).
5. Highly likely add-on – Valuepickr forum as a source
- Use
web_searchto find the company’s thread URL onforum.valuepickr.com. - Run
knowledgelm forum <URL> --symbol <SYMBOL>. Files saved to./{SYMBOL}_valuepickr/. - Artifacts: 1. thread 2. popular links in the thread in a .md
- Constraint: Do not run by default. Warn the user that this is a forum thread and may not fit as an upload to notebookLM as a source of truth. However, the output is formatted to be distraction-free and print-friendly–will interest most users as a download.
knowledgelm forum "https://forum.valuepickr.com/t/nrb-bearings-ev-and-exports-to-drive-growth/106674" --symbol HDFCBANK
6. Follow-up:
Optional – Audio Overview Generation:
For generating audio overviews focused on fundamental analysis, use the prompt template at references/notebooklm_audio_prompt.md as a system prompt. This provides structured guidance for creating investor-focused audio summaries.
General:
End with a call-to-action illustrating notebooklm’s features(use notebooklm --help to understand what to offer the user contextually prior to the CTA)
Exception Handling
- Invalid symbol: CLI returns
"success": falsein JSON - Network issues: Retry once after 5 seconds
- Incomplete data: May indicate newly listed company on the NSE mainboard or corporate action. Use
web_searchto verify.