portfolio-pulse

portfolio-pulse is a command for Claude Code from hamza-ali-shahjahan/hamzaish. It costs 27 tokens per session (877 once invoked), scanned A, original, MIT.

A command that summarizes a set of products and highlights priorities, top performers, and items to avoid. The available description does not explain what product data it reads.

In plain words
What is it for?
Use it for a high-level portfolio snapshot and prioritization when working with product information.
Why use it?
It is intended to make daily focus decisions easier, but the input does not provide enough detail about its data sources or analysis.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it for a high-level portfolio snapshot and prioritization when working with product information.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hamza-ali-shahjahan/hamzaish/portfolio-pulse
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/hamza-ali-shahjahan/hamzaish

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 portfolio-pulse

README.md
[![agentmods](https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/portfolio-pulse/github.svg)](https://agentmods.dev/commands/hamza-ali-shahjahan/hamzaish/portfolio-pulse)
Your own site
<a href="https://agentmods.dev/commands/hamza-ali-shahjahan/hamzaish/portfolio-pulse"><img src="https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/portfolio-pulse/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 portfolio-pulse

Your own site · 80×15
<a href="https://agentmods.dev/commands/hamza-ali-shahjahan/hamzaish/portfolio-pulse"><img src="https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/portfolio-pulse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 877 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.00027 $0.00877
Opus 5.5 $0.00011 $0.00351
Sonnet 5.5 $0.00005 $0.00175
Haiku 4.5 $0.00003 $0.00088

Measured 2mo ago against content hash 4b3c6c119bfa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

portfolio-pulse 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.

factory/commands/portfolio-pulse.md · 57 lines

What it actually says

The user invoked: /portfolio-pulse $ARGUMENTS

This command works from any cwd. All Hamzaish paths below are absolute.

Steps:

  1. Refresh the brain index so any recent edits to product configs/statuses are visible:
    bun ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/brain/ingest.ts
    
  2. Read ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/products/_portfolio.md for the live snapshot baseline.
  3. List products from ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/products/*/product.config.json. Skip any with status: "killed". Showcase rule (yours vs the maintainer's): read ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/code-paths.local.json. Products registered there (or scaffolded by you) are your portfolio — the main table. Committed products NOT in your code-paths map are the maintainer's showcase — render them as one collapsed line at the bottom ("Showcase — N products built by the maintainer: "), never in your priorities. If code-paths.local.json is missing or its map is empty, ALL repo products are showcase: say "Your factory is empty — start with /builder-mode " instead of prioritizing someone else's work.
  4. For each product, read ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/products/<slug>/product.config.json and ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/products/<slug>/status.md. Note stage, sprint, "today's action."
  5. Invoke ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/factory/agents/portfolio/portfolio-conductor/SKILL.md for prioritization (read the agent prompt, follow its protocol).
  6. Pull real telemetry (wired 2026-07-02 — live Stripe MRR, PostHog actives/signups + WAU/MAU, Sentry error pressure):
    bun ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/scripts/telemetry.ts --json
    
    Fill the snapshot's metrics columns from this output. Connectors degrade honestly (no key → not_connected, API failure → error — never invented numbers): render missing values as —, and if everything is not_connected, say so once ("telemetry keys not set — see scripts/telemetry.ts header") instead of per-row noise. The deeper aggregation protocol stays factory/agents/portfolio/telemetry-aggregator/SKILL.md.
  7. Output the standardized format:
## Portfolio — YYYY-MM-DD

### One sentence
Focus on <product> today, specifically <task>, because <reason>.

### Snapshot
| Product | Stage | MRR | 7d Δ | Errors 24h | Today's action |
|---|---|---|---|---|---|

### Top 3 priorities
1. **<product>** — <task> (Xh) — why now
2. **<product>** — <task> (Xh) — why now
3. **<product>** — <task> (Xh) — why now

### On fire
### Don't touch today
  1. If $ARGUMENTS looks like a number of hours (2, 4h, 8), tune Top-3 to that budget.

  2. After producing the snapshot, update ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/products/_portfolio.md so the next caller starts from fresh state.

Output discipline

  • Table fits one screen
  • Top 3 priorities, max
  • On-fire ideally empty
  • Don't-touch usually 3-5 entries — that's the discipline working
  • Cite product paths so the user can click through
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. 2mo ago Changed 4b3c6c119bfa
  2. 3mo ago First seen · 57 lines · 27 tokens per session scan A bb6ff73ca374

Subscribe to this mod's changes

portfolio-pulse is a command published in the GitHub repository hamza-ali-shahjahan/hamzaish (11 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 877 once invoked, about $0.0001 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-09-03.

Related

portfolio-pulse compared with commands from other repositories

portfolio-pulse next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
portfolio-pulsehamza-ali-shahjahan/hamzaishCommand111mo agoMITA27Claude Code
engage.actionshypnguyen1209/offensive-claudeCommand4361mo agoMITA11Claude Code
promote-lessonskumaran-is/claude-code-onboardingCommand372d agoMITA25Claude Code
stuckData-Wise/claude-pluginsCommand7yesterdayMITA0Claude Code
rao92265/claude-code-playbookCommand1316d agoMITA12Claude Code
setup-aliasesreggiechan74/cc-pluginsCommand71mo agoMITA0Claude Code
crear-skilldoncheli/don-cheli-sddCommand593mo agoApache-2.0A70Claude Code