fadacai-portfolio: Skill for Claude Code

.agents/skills/briefing/SKILL.md

briefing is a skill for Claude Code from PatrickSUDO/fadacai-portfolio. It costs 43 tokens per session (32,317 once invoked), scanned A, original, MIT.

A daily summary of an investment portfolio, offered in quick, full, and deep levels of detail. An investment portfolio is the collection of assets someone owns, such as shares or funds.

In plain words
What is it for?
Use it to create a short overview, a more complete review, or a deeper analysis. With sending enabled, it writes report files, generates a web version, and pushes the briefing to Telegram and email.
Why use it?
It gives a repeatable way to review portfolio information at different depths and can prepare formatted reports for delivery through Telegram and email.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; mentions subagents; positional $N argument.

This is PatrickSUDO/fadacai-portfolio's own configuration. It tells Claude Code how to work on fadacai-portfolio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fadacai-portfolio configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 tools/thesis_ledger.py due.

Reuse

Borrowing it

Nothing to install: this file belongs to PatrickSUDO/fadacai-portfolio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PatrickSUDO/fadacai-portfolio/main/.agents/skills/briefing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PatrickSUDO/fadacai-portfolio

Made for: Claude Code.

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 briefing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/patricksudo/fadacai-portfolio/briefing"><img src="https://agentmods.dev/badge/skills/patricksudo/fadacai-portfolio/briefing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 32,317 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
  • medium Excessive Agency · line 5
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.00043 $0.32317
Opus 5.5 $0.00017 $0.12927
Sonnet 5.5 $0.00009 $0.06463
Haiku 4.5 $0.00004 $0.03232

Measured 16d ago against content hash 5cec9297cda8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

briefing 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 16d 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.

.agents/skills/briefing/SKILL.md · 1,416 lines

How it starts

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

Portfolio Briefing

三層結構的每日投資組合簡報,取代原 /daily-briefing。

Arguments

  • /briefing → Quick(~1 分鐘)
  • /briefing full → Quick + Full(~3 分鐘)
  • /briefing deep → Quick + Full + Deep(~5 分鐘)
  • /briefing telegram → Telegram Push Tier(~2-3 分鐘)— 盤中推送專用,不跑 Phase 1-3

--send 旗標

任何 tier 加上 --send 會在 tier 執行完後:

  1. 把完整 briefing markdown 寫到 briefing-out/YYYY-MM-DD-full.md(Write tool)
  2. 把 Telegram 格式純文字寫到 briefing-out/YYYY-MM-DD-telegram.txt(Write tool)
  3. 呼叫 python3 tools/send_briefing.py YYYY-MM-DD(Bash tool)推送至 Telegram + Email
    • send_briefing.py 內部自動呼叫 generate_html.py,push HTML 到 reports repo,並在 Telegram 訊息末加上網頁連結

briefing telegram 沒有 --send 時:只寫 briefing-out/ 兩個檔案,不發送。 若需手動生成 HTML(不發送):python3 tools/generate_html.py briefing YYYY-MM-DD [--push]

執行模型建議

  • /briefing(quick)→ Sonnet 5(純彙整;session 已長則先 /compact)
  • /briefing telegram → Sonnet 5(每日 launchd 自動推送,成本敏感,固定 Sonnet;週五 --codex 另走 gpt-5.5)
  • /briefing full → Opus 5.5(中等綜合 + Verdict;Phase 2 subagent 已外包 Sonnet 5)
  • /briefing deep → Opus 5.5(深度合成 + Codex 整合 + 機率/EV)

切換方式:/model sonnet、/model opus 或 /model fable 後執行 skill。


Step 0: 配置同步 & 倉位偵測

執行 AGENTS.md 的 Step 0 統一規範(0a → 0b → 0c → 0d → 0e)。

  • 讀 plan.md + feedback/*.md(必做)
  • 呼叫 get_account_position 取即時持倉
  • 今日 journal 不存在 → 執行 gap-fill + 變動偵測 + 自動建立 journal
  • 若偵測到的變動對應 plan.md 待辦項 → 在 Phase 1 Step 1 標記
  • 0e 第一性原理紀律:在 Quick Take 之前必須完成「市場主題 thesis / 證偽條件 / 機率分布」三題(見 AGENTS.md 0e)

Step 0.5: Macro Snapshot Load(所有 Phase / Tier 共用)

讀 cache(不打 API,所有數據由 tools/fetch_macro.py 預載到 briefing-out/cache/macro-snapshot.json):

Read briefing-out/cache/macro-snapshot.json

判定:

  • status == "ok" 或 "partial" 且 cache mtime < 36h → 使用,在 Quick Take 區前顯示 1 行:
    📊 Macro: Fed {fed_funds}% | 2s10s {value} ({regime}) | HY OAS {value} ({regime}, pct {pct_1y}%) | VIX {value} ({regime}) | regime: {regime_tag}
    
  • status == "skipped"(FRED key 缺失)→ 顯示 ⚠️ Macro snapshot unavailable (FRED_API_KEY not set) 並跳過
  • mtime > 36h → 顯示 ⚠️ Macro snapshot stale ({mtime_hours}h old) 仍使用但標記

Read the full file on GitHub · 1,416 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. 16d ago Changed 5cec9297cda8
  2. 17d ago Changed a4f16862375c
  3. 28d ago Changed 34ac0911a27a
  4. 29d ago Changed · +1 lines ef26b2c32386
  5. 1mo ago Changed · +1 lines 1dda30fe8faa
  6. 1mo ago Changed ce746ab96f10
  7. 1mo ago Changed · +5 lines e80ec83bf5c2
  8. 1mo ago Changed · +2 lines 73e722a1f538
  9. 1mo ago Changed · +54 lines c4497f87755a
  10. 2mo ago First seen · 1,353 lines · 43 tokens per session scan A c4f429addb71

Subscribe to this mod's changes

briefing is a skill published in the GitHub repository PatrickSUDO/fadacai-portfolio (144 stars, last pushed 7d ago), licensed MIT. It adds 43 tokens to every session and 32,317 once invoked, about $0.0002 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.

Related

briefing compared with skills from other repositories

briefing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
briefingPatrickSUDO/fadacai-portfolioSkill1447d agoMITA43Claude Code
sector-rotationHKUDS/Vibe-TradingSkill38kyesterdayMITA39Claude Code, Codex
twitter-readerhimself65/finance-skillsSkill3.5k2d agoMITA110Claude Code
strategy-pivot-designertradermonty/claude-trading-skillsSkill3.7k2d agoMITA28Claude Code, Codex
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.5kyesterdayApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill269yesterdayApache-2.0A54Claude Code, Codex
multi-expert-analyzerdigoal/blogSkill8.6k2d agoGPL-2.0A292Codex