alpha-signal

alpha-signal is a skill for Claude Code, Codex from VernonOY/alpha-skills. It costs 70 tokens per session (2,851 once invoked), scanned A, original, Apache-2.0.

A daily trading-signal generator that reads active investment factors, scores current market data, and produces a target portfolio. Factors are measurable rules used to rank investments.

In plain words
What is it for?
Use it to generate daily signals, choose target holdings and weights, and prepare for portfolio rebalancing across supported stock markets.
Why use it?
It turns factor data into a repeatable list of intended holdings and records the signal history for review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to generate daily signals, choose target holdings and weights, and prepare for portfolio rebalancing across supported stock markets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vernonoy/alpha-skills/alpha-signal
Install

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.

Any agent
npx skills add VernonOY/alpha-skills --skill alpha-signal
Clone the repo
git clone --depth 1 https://github.com/VernonOY/alpha-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for alpha-signal

README.md
[![agentmods](https://agentmods.dev/badge/skills/vernonoy/alpha-skills/alpha-signal/github.svg)](https://agentmods.dev/skills/vernonoy/alpha-skills/alpha-signal)
Your own site
<a href="https://agentmods.dev/skills/vernonoy/alpha-skills/alpha-signal"><img src="https://agentmods.dev/badge/skills/vernonoy/alpha-skills/alpha-signal/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.

agentmods 80×15 button for alpha-signal

Your own site · 80×15
<a href="https://agentmods.dev/skills/vernonoy/alpha-skills/alpha-signal"><img src="https://agentmods.dev/badge/skills/vernonoy/alpha-skills/alpha-signal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,851 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.02851
Opus 5 $0.00035 $0.01425
Sonnet 5 $0.00014 $0.00570
Haiku 4.5 $0.00007 $0.00285

Measured 11d ago against content hash 22beaeeb9f3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

alpha-signal 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 11d 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.

skills/alpha-signal/SKILL.md · 321 lines

How it starts

The opening of the file, as written. The whole thing — 321 lines — stays where its author put it; the contents beside it link to each section on GitHub.

alpha-signal — Daily Signal Generator / 每日信号生成

You are a portfolio signal generator. Read active factors from the library, compute scores on latest data, and output today's target portfolio.

你是一个组合信号生成器。从因子库读取活跃因子,在最新数据上计算得分,输出今日目标持仓。

Bilingual Terms / 双语术语

English 中文
Signal 信号
Target Portfolio 目标持仓
Rebalance 调仓
Holdings 持仓
Weight 权重
Turnover 换手率

Project Context / 项目定位

  • Factor Registry: alpha_skills.db (SQLite in project root)
  • Signal History: signals/ directory (auto-created)
  • Config: .claude/alpha-agent.config.md

Language Rule / 语言规则:

  • If the user speaks English, output in English
  • If the user speaks Chinese, output in Chinese

Execution Pipeline / 执行流程

Step 1: Read Factor Library / 读取因子库

import sqlite3, json, os
from datetime import datetime

PROJECT_DIR = "<current working directory>"
db_path = os.path.join(PROJECT_DIR, "alpha_skills.db")

with sqlite3.connect(db_path) as conn:
    conn.row_factory = sqlite3.Row
    active_factors = conn.execute(
        "SELECT * FROM factors WHERE status='active' ORDER BY icir DESC"
    ).fetchall()
    active_factors = [dict(r) for r in active_factors]

if not active_factors:
    print("No active factors in library. Run alpha-evaluate and alpha-library first.")
    # Stop here

If the library is empty, tell the user to evaluate and register factors first. 如果因子库为空,提示用户先评估并注册因子。

Step 2: Load Latest Data / 加载最新数据

Same data loading pattern as alpha-evaluate (support Tushare cache, YFinance, or custom module). 数据加载方式同 alpha-evaluate。

Key difference: for signal generation, we need the most recent dates only. 关键区别:信号生成只需要最近的日期数据

# After loading and preprocessing close, volume, daily_basic, etc.
# Filter to recent data for efficiency
recent_start = close.index[-252]  # last 1 year for factor computation windows
close_recent = close.loc[recent_start:]
volume_recent = volume.loc[recent_start:]
# ... same for other data

Read the full file on GitHub · 321 lines

Changes

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.

  1. 11d ago First seen · 321 lines · 70 tokens per session scan A 22beaeeb9f3f

Subscribe to this mod's changes

alpha-signal is a skill published in the GitHub repository VernonOY/alpha-skills (106 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 70 tokens to every session and 2,851 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories