barrios88/barrios-skills/financial-text-nlp
Claude Code and agent skill by barrios88/barrios-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Measure sentiment and stance in financial and economic text — 10-K/10-Q MD&A, earnings calls, Fed/ECB communications — using FinBERT, FinVADER, and domain models. Use for accounting and finance NLP features, not general chat sentiment.
Install
npx vskill@latest install barrios88/barrios-skills/financial-text-nlpSKILL.md
Barrios Skills — John Barrios's curated workflow for economists and accountants. Prioritize reproducible empirical work, clear identification language, and journal-ready output.
Financial & economic text NLP
When to use
- Tone of MD&A, risk factors, 8-K text, or ESG/boilerplate sections
- Earnings-call transcripts (prepare/Q&A separately when possible)
- Central-bank or supervisory communications (hawkish/dovish stance)
- Building panel covariates (firm–year sentiment) for regressions in `pyfixest` or Stata
Not for: casual product reviews or generic Twitter sentiment without a finance lexicon/model.
Tool map
| Task | Tool | Notes | |
|---|---|---|---|
| General financial tone | FinBERT (ProsusAI) | Sentence/chunk classification: positive/negative/neutral | |
| Lexicon baseline | FinVADER | Fast, transparent; good robustness check | |
| Central-bank stance | CentralBankRoBERTa, WorldCentralBanks | Domain labels ≠ FinBERT polarity | |
| Econ NER / domain LM | EconBERTa | Entity/paper domain — not a drop-in sentiment score | |
| Document → text | `sec-edgar`, markitdown/Docling | Get clean text before scoring |
Iron law: define the unit and the label
- Unit of analysis: sentence, paragraph, section, or full document (document scores need aggregation rules)
- Label meaning: polarity ≠ hawkishness ≠ forward-looking statements
- Train/test hygiene: do not tune thresholds on the same sample used for causal estimates
- Inspect: print 10 scored excerpts before merging to Compustat
Minimal FinBERT pattern
Aggregate to firm–year with an explicit rule (mean of sentence scores; or net positivity = pos − neg). Document the rule in the paper.
Accounting / finance research notes
- Boilerplate: length and legalese dilute tone — consider section fixed effects or residuals
- Attribution: link scores to accession IDs / transcript IDs for replication
- Identification: sentiment as outcome vs covariate vs instrument — state which; NLP error is measurement error
- Robustness: report FinBERT + lexicon (FinVADER) or alternative chunking
Checklist
- [ ] Text source and cleaning steps logged
- [ ] Model id + revision pinned
- [ ] Aggregation rule written down
- [ ] Hand-checked excerpts saved
- [ ] Merge keys to firm identifiers validated (CIK / gvkey / ticker map)
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/research-tools/financial-text-nlp/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/barrios88/barrios-skills/financial-text-nlp)