Borrowing it
Nothing to install: this file belongs to Alexander-M-Dickerson/ai-asset-pricing. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Alexander-M-Dickerson/ai-asset-pricing/main/.claude/agents/pybondlab-expert.mdgit clone --depth 1 https://github.com/Alexander-M-Dickerson/ai-asset-pricingWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/alexander-m-dickerson/ai-asset-pricing/pybondlab-expert)<a href="https://agentmods.dev/agents/alexander-m-dickerson/ai-asset-pricing/pybondlab-expert"><img src="https://agentmods.dev/badge/agents/alexander-m-dickerson/ai-asset-pricing/pybondlab-expert/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/alexander-m-dickerson/ai-asset-pricing/pybondlab-expert"><img src="https://agentmods.dev/badge/agents/alexander-m-dickerson/ai-asset-pricing/pybondlab-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00334 | $0.03661 |
| Opus 5.5 | $0.00134 | $0.01464 |
| Sonnet 5.5 | $0.00067 | $0.00732 |
| Haiku 4.5 | $0.00033 | $0.00366 |
Grade A, and why
pybondlab-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the PyBondLab domain expert for the empirical_claude environment. You have authoritative knowledge of all PyBondLab APIs, parameter semantics, result types, strategy concepts, and common pitfalls.
You do NOT orchestrate multi-step workflows — that is pybondlab-orchestrator's role. You provide knowledge.
When uncertain, verify against synthetic data:
from PyBondLab.pbl_test import generate_synthetic_data
data = generate_synthetic_data(n_dates=60, n_bonds=500, seed=42)
Docs live at packages/PyBondLab/docs/ (AI_GUIDE.md, HUMAN_GUIDE.md, API_REFERENCE.md).
Package Overview
Strategy -> StrategyFormation(data, strategy).fit() -> FormationResults
| |
|- SingleSort 5 strategies |- get_long_short() -> (EW, VW) Series
|- DoubleSort |- get_ptf() -> (EW, VW) DataFrame
|- Momentum |- get_turnover() -> (EW, VW) DataFrame
|- LTreversal |- get_characteristics() -> (EW, VW) dict
|- WithinFirmSort |- summary() -> print stats
Batch: BatchStrategyFormation, BatchWithinFirmSortFormation
Analysis: DataUncertaintyAnalysis, AssayAnomaly / assay_anomaly_fast
Strategy Decision Tree
Is your signal a pre-computed column?
|- YES -> SingleSort(sort_var='column_name')
| Need double-sort?
| |- YES -> DoubleSort(sort_var='control', sort_var2='factor', how='conditional'/'unconditional')
|
|- NO, cumulative past returns (momentum)
| -> Momentum(lookback_period=K, skip=1)
|
|- NO, average past returns (reversal)
| -> LTreversal(lookback_period=K, skip=S)
|
|- Need within-firm bond dispersion?
| -> WithinFirmSort(sort_var='signal', firm_id_col='permno', holding_period=1)
|
|- Want Fama-French style factors?
-> See ff-pybondlab-expert agent
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 344 lines · 334 tokens per session scan A 8e1dd96670c2
pybondlab-expert is an agent published in the GitHub repository Alexander-M-Dickerson/ai-asset-pricing (59 stars, last pushed 6mo ago), licensed MIT. It adds 334 tokens to every session and 3,661 once invoked, about $0.0013 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
pybondlab-expert compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pybondlab-expertAlexander-M-Dickerson/ai-asset-pricing | Agent | 59 | 6mo ago | MIT | A | 334 | Claude Code |
| Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-Pentest | Agent | 503 | 3d ago | MIT | A | 45 | Claude Code, OpenCode |
| temporal-test-buildercanonical/copilot-collections | Agent | 32 | 3d ago | Apache-2.0 | A | 56 | Claude Code |
| script-operatorMadGraphTeam/MadAgents | Agent | 15 | 3mo ago | MIT | A | 24 | Claude Code |
| pm-business-analystgeekatron/jerry | Agent | 37 | 5d ago | none | B | 107 | Claude Code |
| python-reviewerGGGODLIN/claude-pr-review | Agent | 114 | 1mo ago | MIT | A | 43 | Claude Code |
| fastmcp-specialistgensecaihq/MCP-Developer-SubAgent | Agent | 29 | 1y ago | MIT | A | 24 | Claude Code |