Fuzzy search
Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-claude-opus-4-6/financial-analysis/fuzzy-search
Fuzzy string matching for fund names and stock CUSIPs using thefuzz library.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill fuzzy-searchAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.7 KB, 170 tokens by cl100k_base, as published. Nobody here has run it
Fuzzy Search for 13-F Data
Setup
pip install thefuzz python-Levenshtein
Fund Name Search
from thefuzz import fuzz, process
# Search in COVERPAGE for fund name
results = process.extract(search_term, cover['FILINGMANAGER_NAME'].tolist(), scorer=fuzz.token_sort_ratio, limit=5)
# Returns list of (match, score, index)
Stock CUSIP Search by Issuer Name
# Get unique issuers with CUSIPs
issuers = info[['NAMEOFISSUER','CUSIP']].drop_duplicates()
results = process.extract(stock_name, issuers['NAMEOFISSUER'].tolist(), scorer=fuzz.token_sort_ratio, limit=5)
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.