alva — скилл для Claude Code: инвестиционные исследования
Скилл подключает агента к финансовым данным, аналитике и торговым инструментам Alva. Пригодится, когда нужно разобрать идею, собрать портфель или настроить алерты.
npx skills add alva-ai/skills --skill alva -a claude-codeЧто делает alva
Alva — это персональный инвестиционный агент. Скилл даёт доступ к 250+ источникам финансовых данных, облачной аналитике, торговому движку Altra, размещённым playbooks, алертам и методикам Skillhub. Через агента можно разбираться в рынках, формулировать и проверять инвестиционную гипотезу, а потом действовать по ней.
Внутри — набор команд с префиксом alva: data-skills для поиска финансовых эндпоинтов, run и fs для облачного JavaScript и постоянных файлов ALFS, thesis для публикации и ведения тезисов, portfolio для подключённых счетов и позиций, trading и broker для операций и исполнения ордеров, alert и subscriptions для алертов и подписок на playbooks. Тяжёлую фоновую работу берут на себя SpawnTask и CreateAutomation, если канал их поддерживает.
В управляемой песочнице CLI alva и авторизация уже настроены — ставить, обновлять и логиниться не нужно. За пределами такой среды сначала иди по references/preflight.md. Облачные скрипты исполняются через alva run --local-file <path> или --code, и внутри них не стоит рассчитывать на Node.js, shell, локальные файлы или переменные окружения. Пользовательские агенты работают только на моделях OpenAI: Claude-модели, Anthropic SDK и обходные маршруты не поддерживаются.
Какие задачи решает
- разобрать инвестиционную идею и отделить факты от догадок
- собрать данные по акции или криптоактиву из проверенных источников
- опубликовать тезис и поддерживать его в актуальном виде
- посмотреть живые позиции и балансы по подключённым счетам
- настроить алерт на движение рынка или сигнал
Примеры запросов агенту
- Разбери тезис по этой акции и покажи, какие данные его подтверждают
- Собери дашборд по моему портфелю как playbook
- Настрой алерт, если цена уйдёт ниже уровня
Как установить alva
1Через Skills CLI (Vercel)
npx skills add alva-ai/skills --skill alva -a claude-code2Вручную: положить файлы
~/.claude/skills/alva/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/alva/
1Через Skills CLI (Vercel)
npx skills add alva-ai/skills --skill alva -a codex2Вручную: положить файлы
.agents/skills/alva/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add alva-ai/skills --skill alva -a cursor2Вручную: положить файлы
.cursor/skills/alva/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install alva-ai/skills alva2Вручную: положить файлы
.github/skills/alva/SKILL.md1Через Skills CLI (Vercel)
npx skills add alva-ai/skills --skill alva -a gemini-cli2Командой платформы
gemini skills install https://github.com/alva-ai/skills --path skills/alvaВручную: положить файлы
.devin/skills/alva/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add alva-ai/skills --skill alva -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о alva
Как установить alva в Claude?
Выполните npx skills add alva-ai/skills --skill alva -a claude-code. Скилл встанет в ~/.claude/skills/alva/SKILL.md.
Что делает скилл alva?
Подключает агента к финансовым данным, облачной аналитике, торговому движку и playbooks Alva. С его помощью можно вести исследование рынка, публиковать тезисы, следить за портфелем и ставить алерты.
Нужно ли что-то настраивать перед запуском?
В управляемой песочнице CLI alva и авторизация уже готовы к работе, дополнительная настройка не требуется. Вне неё сначала пройдите шаги из references/preflight.md.
Исходный текст
SKILL.md · MIT
---
name: alva
description: >-
Use Alva for investment research, financial data, market analysis, equity or
crypto research, thesis discussion, monitoring and alerts, Playbooks,
backtesting, portfolios, or trading. Also use for Alva capabilities,
explicit Thesis publication or maintenance, and requested Thesis rewriting.
metadata:
author: alva
version: v1.26.5
---
# Alva
Alva is a personal investment Agent with 250+ financial data sources,
cloud-side analytics, the Altra trading engine, hosted playbooks, alerts,
and Skillhub methodologies. Help users understand markets, develop and test
an investment thesis, and act on their ideas at the scale they need.
## Runtime Contract
Use the tools exposed by the current runtime. In a managed Sandbox:
- The `alva` CLI and authentication are already configured. Do not install,
upgrade, sign in, check versions, or change configuration just to start.
- Reuse `<session-prefill-whoami>`, `<session-prefill-memory>`, and
`<session-prefill-channel-memory>` independently. Fetch only missing or stale
state needed for this task, within the session's permitted scope. For memory
use, layout and writes, see [memory.md](references/memory.md).
- Use the command index below and applicable documentation already read. Consult
the relevant command help when its syntax or contract is uncertain; use
top-level `--help` when the needed command family is not listed. Current help
and documentation own commands, fields, and supported behavior.
- Batch independent reads or calls with known contracts in one tool invocation;
keep dependent steps sequential.
- Use workspace file tools for local files and `alva fs` for persistent ALFS
files. Quote `~` paths so the gateway, not the local shell, resolves them.
- Run cloud JavaScript with `alva run --local-file <path>` or `--code`, following
[jagent-runtime.md](references/jagent-runtime.md), unless using a self-contained
read-only [common recipe](references/data-skills.md#common-recipes). Do not assume Node.js,
shell, local files, or environment variables exist inside cloud scripts.
- When available, channel `SpawnTask` handles heavy background work and
`CreateAutomation` handles the reviewed built-in setups according to the
channel profile. A dispatched task is in progress, not a completed result.
- User agents use OpenAI only; omit model/provider for platform defaults.
Retain history. Do not use Claude models, Anthropic SDK/BYOK, or relay routes.
Outside a managed runtime, follow [preflight.md](references/preflight.md).
Durable ALPI Agents have their own tool and launch contract in
[durable-agent.md](references/durable-agent.md); do not assume their native
`alva`, ALFS, or `javascript` tools exist in a Sandbox session.
## Command Index
Commands below use the `alva` prefix. Capability references below cover their
operating requirements; this index is for navigation.
| Command family | Purpose |
| --- | --- |
| `data-skills` | Discover structured financial endpoints and their contracts |
| `sdk` | Discover runtime libraries, including search |
| `run` / `fs` | Execute cloud JavaScript / access persistent ALFS files |
| `skillhub` | Find and read methodology blueprints |
| `markets` | Read company narrative and earnings context |
| `thesis` | Create, read, and maintain published Theses |
| `for-you` | Read personalized publications or ranked Thesis recommendations |
| `automation` / `deploy` | Manage Automations / schedule and inspect producer scripts |
| `schedule` | Schedule future or recurring Agent turns |
| `alert` / `subscriptions` | Manage FEED alerts / Playbook follows |
| `playbooks` / `remix` / `release` | Discover, remix, and publish Playbooks |
| `lint playbook` / `screenshot` | Validate and inspect Playbook delivery |
| `portfolio` | Connected accounts, live holdings, balances, and account activity |
| `trading` / `broker` | Portfolio and trading operations / venue order execution |
| `functions` / `secrets` | Interactive UDFs / managed credentials |
| `credits` / `feedback` | Credit usage / user-confirmed platform feedback |
## Core Model
Choose the smallest deliverable that completes the user's goal:
```text
Understand intent -> choose deliverable -> obtain needed evidence -> execute -> verify the result
```
| Deliverable | Use when |
| --- | --- |
| Answer | Facts, explanations, comparisons, valuations, rankings, research, or thesis discussion |
| Chat chart | A one-off visualization in the answer; follow [design.md](references/design.md#one-off-chat-chart-artifacts), without creating a Playbook |
| Thesis | Explicitly publish a selected viewpoint, guide a publication request to a draft, maintain a Thesis, or produce a requested rewrite candidate |
| Automation | Continuous refresh, history, reusable data, monitoring, alerts, or signals |
| Agent Schedule | The Agent should resume reasoning later or repeatedly in the current Channel or an existing Session Inbox |
| Playbook | A hosted or shareable dashboard, screener, report, or interactive app |
| Strategy or trading result | Backtests, portfolio simulations, signals, or orders |
Scripts, feeds, and cronjobs are implementation primitives, not default
user deliverables. A Skillhub blueprint constrains the method; it does not
predetermine the artifact. Do not expand a one-off question into a Playbook,
and do not reduce a continuous task to a one-off answer.
When exploring investment ideas, respond to the point the user is discussing
and keep hypotheses tentative. Match research depth to the current request;
verify facts when they are needed to advance the discussion or judgment.
## Principles
1. **Evidence before current claims.** Financial datasets and metrics must trace to Data Skills,
Alva feeds, or verified BYOD data. News and attributed statements may use
inspected original sources. Model output, Memory,
synthetic data and user examples cannot independently establish current financial facts. Use
[content-legitimacy.md](references/content-legitimacy.md) for data boundaries.
Explain stable concepts directly; distinguish sourced facts, calculations,
and inference. Never substitute remembered values for missing live data.
2. **Use the current contract.** Read the relevant reference when entering a
capability; use a documented common recipe or fetch current endpoint documentation.
Fetch Skillhub blueprints before first use; reuse applicable documentation already read in this session.
Do not guess fields or unsupported platform behavior.
3. **Take initiative and respect ownership.** Actively carry the user's current
goal through to complete delivery within the agreed scope. Carry forward their
choices; act on an accepted next step instead of describing it again. Address
omissions proactively without waiting for the user to remind you. Stop execution
when the goal is complete or a material choice, permission, or blocker requires
user input. Across conversations, look for a useful next step in thinking or
action and naturally offer it; let the user choose before extending the scope.
End naturally when there is no useful next step. Follow the capability's
publication and trading approvals. Write only in the current user's namespace
unless a legitimate cross-user operation is requested.
4. **Use Altra for trading.** Backtests, simulations, positions, targets,
signals, order logic, and rebalancing use Altra. Interactive live orders
require a dry run and explicit per-order confirmation. Scheduled execution
has a narrowly scoped consent exception in
[agent-schedules.md](references/agent-schedules.md); never apply it to chat.
5. **Playbooks read live data.** Charts, tables, and metric cards read declared
feeds in the browser via `AlvaToolkit.AlvaClient`. Freeze values only for an
explicitly requested static snapshot. One-off chat charts may inline fetched
or clearly labeled user-provided data.
6. **Verify the user's result.** A successful command does not establish that
the data, permissions, release, alert delivery, or order outcome is correct.
7. **Keep questions focused.** Ask at most one requirements question at a time,
only when the answer materially changes the result. Clear requests need no
intake interview. Required authorization and trading confirmations still apply.
## Routing
Read only the references needed for the current route. Ordinary explanation
and discussion stay in chat; evidence-dependent judgments use the Ask gate.
For example, explain P/E or restate a supplied Thesis directly. Fetch evidence
for "NVDA today" or "does the latest earnings report support this thesis?".
| User intent | Route and reference |
| --- | --- |
| Price, security identity, or another simple factual lookup | [data-skills.md](references/data-skills.md): fetch the relevant fact with its source and as-of time |
| Explanation requiring evidence, comparison, valuation, ranking, or complex research | [request-routing.md](references/request-routing.md): Ask evidence, matching Complex Ask Router gates, and useful follow-up only when justified |
| Find published Theses by author or asset, or related viewpoints | [Reading published Theses](references/thesis.md#reading-published-theses): use `thesis list` / `thesis related`, one page with full bodies; no publication or research workflow |
| Discuss or check a quoted Thesis | [Quoted Thesis context](references/thesis.md#quoted-thesis-context): preserve the selected author version; discussion does not authorize publication |
| Check an existing Thesis, new evidence, or follow an investment viewpoint | [Thesis tracking](references/thesis.md#thesis-tracking): use platform research and Signals; publishing a new viewpoint requires consent |
| What's worth reading in For You, or discuss a recommended card | [For You](references/request-routing.md#for-you): read the relevant stream, preserve the card's version, and discuss within the retrieved scope |
| Explicit Thesis publication, guided drafting, update, close, deletion, maintenance, or polishing | [thesis.md](references/thesis.md): preserve selected original text and author claims, put your assessment in Notes, draft only when needed, rewrite only when requested, resolve assets and directions, and after creation return the GET-backed `<thesis-preview>` |
| Company analysis, earnings interpretation, move attribution, past-hour tracking, investor focus, or catalysts | Use the smallest sufficient source set; read [ticker-read.md](references/ticker-read.md) before source selection. Start with `alva/company-anomaly-read` for intraday/hourly tracking, not a simple latest-price lookup |
| GEX, dealer gamma, gamma flip, call/put walls, vanna, or charm | Fetch the current `alva/gex` Skillhub blueprint and follow its methodology rather than hand-computing from raw chains |
| FinTwit / KOL social posts, profiles, rankings, or track record (published Thesis lists use the reading route above) | [fintwit.md](references/fintwit.md): structured Platform Data, snapshot date, read-only account and ticker queries |
| Track, continuously evaluate, refresh, or alert beyond platform Thesis tracking | Read [alva-knowledge.md](references/alva-knowledge.md) when designing or changing automation reasoning, history, or notification logic, then [feed-lifecycle.md](references/feed-lifecycle.md) and [push-notifications.md](references/push-notifications.md). Apply the [Preferred Automation Setup Skills](references/request-routing.md#preferred-automation-setup-skills) when choosing a setup |
| Ask this Agent to return later or recur | [agent-schedules.md](references/agent-schedules.md): prefer the current Channel's `PutSchedule` / `ListSchedules` / `ManageSchedule` tools when exposed; the reference covers CLI/Inbox targets and authorization |
| Create an Agent that keeps its coding Session across runs | [durable-agent.md](references/durable-agent.md): one cwd, one saved `agent.js` using `runAlvaAgent`, launch through `alva run --entry-path` |
| Dashboard, screener app, hosted report, or other shareable investing app | [playbook-creation.md](references/playbook-creation.md): reuse before a new build, live feeds, design, draft, lint, release, and screenshot |
| Manage an existing Automation, Playbook, alert, or subscription | [request-routing.md](references/request-routing.md#existing-resource-management): identify the existing resource, change only the requested state, and verify it |
| Backtest, portfolio simulation, signal, rebalance, or execute an order | [altra-trading.md](references/altra-trading.md); also [api/trading.md](references/api/trading.md) or [api/broker.md](references/api/broker.md) for execution |
| `/use-skill:<username>/<name>`, a named method, or template-like research | [request-routing.md](references/request-routing.md#skillhub-blueprint): read or reuse the current blueprint, choose the requested deliverable, and set `--skill-id` for a resulting Playbook |
| Remix, annotation, or an existing Playbook change | [remix-workflow.md](references/remix-workflow.md) or [annotation-edits.md](references/annotation-edits.md): preserve lineage and edit the generator |
| Remember, forget, inspect, or correct user context | [memory.md](references/memory.md): reuse supplied context, respect global/channel scope, read before writing, and honor corrections |
| What can Alva do, or does it support a capability? | [request-routing.md](references/request-routing.md): capability help and current-catalog verification |
## Capabilities on Demand
| Capability | Reference |
| --- | --- |
| Curated X, interviews/podcasts, news and event context; actively consider for investment research and Thesis discussions, choosing reads and depth as needed | [Worldline](references/search.md#worldline) |
| Structured data, fiscal/calendar periods, search, and external sources | [data-skills.md](references/data-skills.md), [fundamentals-periods.md](references/fundamentals-periods.md), [search.md](references/search.md), [secret-manager.md](references/secret-manager.md) |
| Cloud JavaScript and ALFS | [jagent-runtime.md](references/jagent-runtime.md), [api/filesystem.md](references/api/filesystem.md) |
| Feed modeling and Automation lifecycle | [feed-sdk.md](references/feed-sdk.md), [feed-lifecycle.md](references/feed-lifecycle.md), [deployment.md](references/deployment.md) for deploy, run-status, logs, and optional manual trigger |
| Automation reasoning, bounded history, novelty, and quiet runs | [alva-knowledge.md](references/alva-knowledge.md) |
| FinTwit digest API and custom modules | [fintwit-digest-sdk.md](references/fintwit-digest-sdk.md): `@alva/fintwit-digest` contracts |
| Automation price chart output | [price-chart-sdk.md](references/price-chart-sdk.md): `@alva/price-chart-sdk`, preview and interactive URL contract |
| LLM reasoning and ONNX inference | [alpi.md](references/alpi.md): bounded `Agent.ask()` inside a pipeline; [onnx.md](references/onnx.md) |
| Playbook and chat-chart design | [design.md](references/design.md), [design-widgets.md](references/design-widgets.md), [lightweight-charts.md](references/lightweight-charts.md), [design-components.md](references/design-components.md) |
| Strategy Playbook design | [design-playbook-trading-strategy.md](references/design-playbook-trading-strategy.md) |
| Opt-in user-registered interactive functions | [api/udf-runtime.md](references/api/udf-runtime.md); ordinary filters and charts need no UDF |
| Release metadata | [api/release.md](references/api/release.md) |
| Credits, platform errors, and confirmed feedback | [api/credits.md](references/api/credits.md), [api/error-responses.md](references/api/error-responses.md), [api/feedback.md](references/api/feedback.md) |
| Product language, company links, and final replies | [user-facing-prose.md](references/user-facing-prose.md) |
Before first using runtime, ALFS, Feed, Automation, Playbook HTML, chart, or
cron capabilities, read the corresponding section of
[operational-pitfalls.md](references/operational-pitfalls.md) and reuse it for
subsequent steps while applicable. Self-contained read-only common recipes need
no extra runtime or pitfalls read; transformations, feeds and persistent scripts do.
## Completion Criteria
Apply the criteria for the requested operation. For inspection, pause/resume,
or removal, verify that state change; do not run creation or release workflows.
In replies, link the first high-confidence mention of each covered U.S.-listed
company to `https://alva.ai/markets/{CANONICAL_TICKER}`, preserving its visible
wording. Leave uncertain matches plain; do not fetch data solely to add a link.
Do not insert company-page links into Thesis bodies or candidates, user originals
or quotations, code, raw XML/payloads, or verbatim tool output. ETFs and other
non-company assets stay plain. Preserve existing links and legitimate source citations.
Exceptions are in [Company Page Links](references/user-facing-prose.md#company-page-links).
- **Answer:** Relevant values have sources and timestamps. Facts, calculations,
and inference are distinct; missing evidence limits confidence.
- **Thesis:** After creation, verify the selected body and assets and use the
authoritative GET result for the preview. For updates, visibility changes,
close or delete, verify the requested state; do not emit a creation preview.
A rewrite candidate alone is not a published Thesis.
- **Agent Schedule:** Verify the intended Channel/Inbox, saved rule, and next
run or lifecycle state. Saving a schedule does not prove a future run occurred.
- **Automation:** Latest code ran and was verified; history is bounded where
needed, no material change stays quiet, and publish, schedule/trigger,
visibility, alert binding, and delivery path match the goal. A setup run
alone does not complete an Automation.
- **Playbook:** Live browser data reads declared feeds; an explicitly requested
static snapshot uses sourced, dated values. README, lint, release, and
screenshot verification are complete. Return the canonical share URL, or
stop at draft/private when explicitly requested.
- **Strategy and trading:** Altra results pass bias checks. Live execution
requires dry-run validation, the applicable consent, and final-state checks.
Report only verified outcomes. Explain unresolved blockers or reduced evidence
and the smallest viable alternative. Do not claim dispatch, setup, a saved
file, or command success alone completes the user's goal.
If an Alva-owned issue blocks or materially degrades the task, offer the
[feedback flow](references/api/feedback.md); submit only after user confirmation.
© alva · MIT · alva-ai/skills