LangAlpha is an agent workspace for researching financial markets and supporting investment decisions through persistent research, news analysis, and parallel subagents. It is for investors who want to develop and update trading theses over time, including generating long-short pair-trade ideas. The catalogue entries provide the skills, instructions, MCP servers, and plugin that make up its agent workflow.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ginlix-ai/LangAlpha --skill x-apigit clone --depth 1 https://github.com/ginlix-ai/LangAlphaWrote 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/skills/ginlix-ai/langalpha/x-api)<a href="https://agentmods.dev/skills/ginlix-ai/langalpha/x-api"><img src="https://agentmods.dev/badge/skills/ginlix-ai/langalpha/x-api/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/skills/ginlix-ai/langalpha/x-api"><img src="https://agentmods.dev/badge/skills/ginlix-ai/langalpha/x-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00070 | $0.01335 |
| Opus 5.5 | $0.00028 | $0.00534 |
| Sonnet 5.5 | $0.00014 | $0.00267 |
| Haiku 4.5 | $0.00007 | $0.00134 |
Grade A, and why
x-api 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 — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
X (Twitter) API
Read-only access to X content via five MCP tools. Use for sentiment on tickers, exec announcements, launches, event tracking, and qualitative research alongside SEC/market data.
Not for single-post URL lookups. If the user hands you a specific X post URL and just wants its text or context, use
web_fetchon the URL — no vault, no auth, no rate limit. Reach for this skill when the task is search, aggregation, or thread traversal.
Auth
Every tool requires a bearer_token. Read it once per code block from the vault:
from vault import get
token = get("X_BEARER_TOKEN")
If token is None or empty, the user hasn't added it yet. For the setup walkthrough and per-error fixes, see TROUBLESHOOTING.md.
Tools at a glance
The primary use case is search — the first two tools are what you'll reach for most.
| Tool | Use for | Page size | Notes |
|---|---|---|---|
search_posts |
Posts from the last ~7 days | default 10, max 100 | Default choice. Query ≤512 chars. |
search_all_posts |
Posts older than 7 days (back to 2006) | default 10, max 500 | Paid-tier X plan only. Query ≤1024 chars. |
get_conversation |
Reply thread to a root tweet | default 50, max 100 | Uses recent search — thread must be ≤7 days old. Root tweet not included. |
get_user_by_username |
A user profile + metrics | — | Handle without @, ≤15 chars. |
get_tweet_by_id |
Hydrate a single post (mainly to find its conversation_id before get_conversation) |
— | For a one-off URL the user already has, prefer web_fetch. |
Examples
Recent sentiment on a ticker
res = search_posts(
query="$NVDA -is:retweet lang:en",
bearer_token=token,
max_results=100,
)
posts = res["posts"]
posts.sort(key=lambda p: p["public_metrics"].get("impression_count", 0), reverse=True)
for p in posts[:10]:
print(p["author"]["username"], p["public_metrics"].get("like_count"), p["text"][:140])
Historical reaction to a past event
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 Changed 4c3966ed0bf2
- 3mo ago First seen · 122 lines · 70 tokens per session scan A 9a5c60489ebe
x-api is a skill published in the GitHub repository ginlix-ai/LangAlpha (2,358 stars, last pushed today), licensed Apache-2.0. It adds 70 tokens to every session and 1,335 once invoked, about $0.0003 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.
x-api compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| x-apiginlix-ai/LangAlpha | Skill | 2.4k | today | Apache-2.0 | A | 70 | Claude Code, Codex |
| pdfChen-zexi/open-ptc-agent | Skill | 731 | 10mo ago | MIT | A | 50 | Claude Code, Codex |
| xlsxChen-zexi/open-ptc-agent | Skill | 731 | 10mo ago | MIT | A | 96 | Claude Code, Codex |
| pptxChen-zexi/open-ptc-agent | Skill | 731 | 10mo ago | MIT | B | 62 | Claude Code, Codex |
| creating-financial-modelsChen-zexi/open-ptc-agent | Skill | 731 | 10mo ago | MIT | A | 32 | Claude Code, Codex |
| docxChen-zexi/open-ptc-agent | Skill | 731 | 10mo ago | MIT | B | 77 | Claude Code, Codex |
| browsershibing624/agentica | Skill | 367 | yesterday | Apache-2.0 | A | 71 | Claude Code, Codex |