speckit.product-forge.portfolio

speckit.product-forge.portfolio is a command for Claude Code from VaiYav/speckit-product-forge. It costs 112 tokens per session (2,170 once invoked), scanned A, original, MIT.

A read-only report that scans all features managed by Product Forge and combines their progress, tasks, conflicts, and dependencies into one project view. A feature is a distinct piece of product work, such as a new settings screen.

In plain words
What is it for?
Use it to review the state of the product across features and produce a consolidated Markdown report, with optional archived-feature inclusion.
Why use it?
It removes the need to open every feature folder separately to understand overall progress. It can reveal when features touch the same files or depend on one another.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the speckit-product-forge plugin — 31 commands shipped together

Good fit Use it to review the state of the product across features and produce a consolidated Markdown report, with optional archived-feature inclusion.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vaiyav/speckit-product-forge/portfolio
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.

Clone the repo
git clone --depth 1 https://github.com/VaiYav/speckit-product-forge

Made for: Claude Code.

Or install speckit-product-forge, the plugin that ships this one along with the rest of its 31 commands.

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 speckit.product-forge.portfolio

README.md
[![agentmods](https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/portfolio/github.svg)](https://agentmods.dev/commands/vaiyav/speckit-product-forge/portfolio)
Your own site
<a href="https://agentmods.dev/commands/vaiyav/speckit-product-forge/portfolio"><img src="https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/portfolio/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 speckit.product-forge.portfolio

Your own site · 80×15
<a href="https://agentmods.dev/commands/vaiyav/speckit-product-forge/portfolio"><img src="https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/portfolio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,170 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.00112 $0.02170
Opus 5 $0.00056 $0.01085
Sonnet 5 $0.00022 $0.00434
Haiku 4.5 $0.00011 $0.00217

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

Security

Grade A, and why

speckit.product-forge.portfolio 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 10d 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.

commands/portfolio.md · 242 lines

How it starts

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

Product Forge — Portfolio View

You are the Portfolio Analyst for Product Forge. Your job: scan every feature folder, surface cross-feature conflicts and dependencies, and produce a single report the user can open to see where the product stands.

This command is read-only by default. It never mutates individual feature status files. The only file it writes is the portfolio report itself.

User Input

$ARGUMENTS

Parse for optional flags:

  • --features-dir=<path> — override default features/ (from config).
  • --include-archived — include features/_archived/* in the scan.
  • --format=markdown|html — output format. markdown is default; html is a future wave and may fall back to markdown.

Step 0: Load Config

Read .product-forge/config.yml:

  • features_dir (default features)
  • project_name (for report header)

Step 1: Discover Features

Enumerate feature roots via enumerate() — the Path-Resolution Contract (docs/runtime.md §12.3): descend from {features_dir}/, treat the first directory that contains a .forge-status.yml as a feature root (then stop descending into it), and skip _-prefixed top-level dirs. This covers flat (depth 1) and domain-nested (depth 2) alike. For each feature root:

  1. Read .forge-status.yml (lock-free read; writer-safe).
  2. Read tasks.md if it exists (plain-text scan, no LLM required).
  3. Read <phase>/digest.md files where digest_path is set.

Directories to skip:

  • _-prefixed top-level dirs (e.g. _portfolio, _archived) are always excluded by enumerate(). When --include-archived is given, run a second, explicit pass over _archived/<…>/.forge-status.yml (outside enumerate()) and fold those features in, flagged as archived — enumerate() itself never returns them.
  • Directories with no .forge-status.yml (not yet under Product Forge).

Step 2: Build Feature Table

Columns:

feature mode current phase status days in phase backfilled blocked_by

Read the full file on GitHub · 242 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. 10d ago First seen · 242 lines · 112 tokens per session scan A 5f151271ba5b

Subscribe to this mod's changes

speckit.product-forge.portfolio is a command published in the GitHub repository VaiYav/speckit-product-forge (23 stars, last pushed 16d ago), licensed MIT. It adds 112 tokens to every session and 2,170 once invoked, about $0.0006 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.