kanevry/session-orchestrator/portfolio
Claude Code and agent skill by kanevry/session-orchestrator
- community
Checking that the SKILL.md file is still in the repository.
Aggregate cross-repo issue/MR/CI health across vault-registered projects into a single Markdown dashboard
Install
npx vskill@latest install kanevry/session-orchestrator/portfolioSKILL.md
The same SKILL.md was published earlier as kanevry/session-orchestrator/portfolio.
Portfolio
Plugin root:${CLAUDE_PLUGIN_ROOT}. Claude Code replaces this with the plugin's absolute path when it loads this file. Where it appears unreplaced — in a file this skill reads with the Read tool, or on Codex, Cursor or Pi — the plugin root is the directory that contains this skill'sskills/folder (two levels above the folder of this SKILL.md). Write that absolute path literally into every command that starts a plugin script: the Bash tool has no plugin variable, and shell variables do not survive between tool calls.
Invocation
The user invoked /portfolio with arguments: $ARGUMENTS. This skill carries the argument validation (--dry-run, --repo <name>), the config/mode/vault gates, the dispatch into scripts/lib/gitlab-portfolio/cli.mjs, and the exit-code table — all below; skills/gitlab-portfolio/SKILL.md owns the dashboard schema.
Aggregates open issues, MRs, and staleness signals across all vault-registered repositories and writes a structured dashboard to <vault-dir>/01-projects/_PORTFOLIO.md.
Argument Validation
Parse $ARGUMENTS before doing anything else.
Recognized flags:
--dry-run— run discovery + aggregation, print the diff to stdout, do NOT write the dashboard. Setsdry_run = true.--repo <name>— limit the run to a single vault slug (e.g.session-orchestrator). Implies--dry-rununless explicitly combined with a write flag. Useful for testing repo discovery without refreshing the full portfolio.
If $ARGUMENTS contains an unrecognized flag (starts with -- but is not one of the above), inform the user:
Then continue with the remaining valid arguments.
Behavior
- Config gate — The CLI reads the
gitlab-portfolio:block from Session Config. Onlyenabled: trueactivates it: an absent block parses to the defaultenabled: false(scripts/lib/config/gitlab-portfolio.mjs), and in both cases the CLI printsgitlab-portfolio: disabled (set gitlab-portfolio.enabled: true in Session Config)and exits 0.
- Mode gate — If
mode: off, the command is a no-op: the CLI checks it before vault resolution and any repo scan, printsgitlab-portfolio: mode: off — skipped (set gitlab-portfolio.mode: warn|strict to run)and exits 0 (#1619). Dispatch as usual; understrict, repo fetch failures exit 2.
- Vault resolution — The CLI takes
--vault-dir, elsevault-integration.vault-dirfrom Session Config (resolved host-locally). If neither yields a path it printsgitlab-portfolio: vault-integration.vault-dir not configured in Session Configand exits 2.vault-integration.enabledis not checked: a configuredvault-diris used even when vault integration is disabled.
- Dispatch — Invoke
scripts/lib/gitlab-portfolio/cli.mjswith the resolved arguments:
``bash node "${CLAUDE_PLUGIN_ROOT}/scripts/lib/gitlab-portfolio/cli.mjs" \ --vault-dir <vault-dir> \ [--dry-run] \ [--repo <name>] ``
- Report — Print the action result emitted by the CLI (
action: written | skipped-noop | skipped-handwritten | dry-run) and exit with the CLI's exit code.
Config Required
Minimum Session Config to enable the command:
Full config reference (all fields with defaults):
Output Format
See skills/gitlab-portfolio/SKILL.md § Output format for the full dashboard schema (frontmatter keys, summary table, per-repo sections, idempotency guard).
Error Modes
Behaviour is governed by the mode config field:
warn(default): per-repo CLI failures are logged to stderr; the portfolio is rendered with the remaining repos. Exit 0.strict: any repo fetch failure causes a non-zero exit before writing. The dashboard is NOT written.off: command is a silent no-op. Logs a single line and exits 0.
--vault-dir not found and write errors always exit 2 regardless of mode.
Exit Codes
| Code | Meaning | |
|---|---|---|
0 | Success (or mode: off / enabled: false no-op) | |
1 | User error (bad arguments, --repo names no discovered repo) | |
2 | System error (Session Config unreadable, no vault-dir configured, vault-dir outside the home directory, repo discovery or fetch crashed, write failed, repo fetch failures in strict mode) |
Exit codes follow .claude/rules/cli-design.md conventions.
Related
skills/gitlab-portfolio/SKILL.md— skill spec, aggregation phases, output schema, error handling (GH #41)skills/vault-mirror/SKILL.md— vault registration conventions (_overview.mdfrontmatter,.vault.yaml)- Session-start Phase 2.7 — optional banner that surfaces portfolio staleness at session-start in dry-run mode
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/portfolio/SKILL.md
Popularity
- Repository stars
- 52
- Repository forks
- 7
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kanevry/session-orchestrator/portfolio)