agentleFS
chrysogonuschrysogonus/power-agents/skills/portfolio/SKILL.md

portfolio

Skill4 starsChanged 27 days agoMITView on GitHub

Use only when the user's question spans several of their projects or repositories, such as what they are working on across projects, which of their repositories have uncommitted work, other active agent sessions, or handoffs left by earlier sessions, or which project to work on next. Reads ~/.agents/portfolio.json, kept by the Power Agents context component. Not for a question about the current repository alone, such as its changed files or status (use git), and not for writing a handoff (use handoff).

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use risk, ask and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OlayeeeyoSkill

    risk

    评估当前整体持仓的风险敞口。当用户输入 /risk 时触发。适用场景:"我的持仓有什么风险?" "期权 assignment 风险大吗?" "持仓集中度怎样?

    Also in 3 projects that use this

  • dubwoahSkill

    ask

    Answer questions about the codebase without generating or modifying any code. Use when the user wants to understand how something works, find where something is defined, or explore the project structure. Invoked with /ask.

    Also in 3 projects that use this

  • AnthropicSkill

    architecture

    Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.

    Also in 3 projects that use this

  • HashiCorpSkill

    changelog

    Add a Changie change fragment (`.changes/<major>.x/unreleased/*.yaml`) for a GitHub Pull Request, commit, and push.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not change any repository, handoff, or lock.

    line 27

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Portfolio

The context component records each git repository where a Codex or Claude Code session starts in ~/.agents/portfolio.json, and keeps session locks and handoffs under ~/.agents/.

  1. Run:

    python3 ~/.agents/hooks/agent-hub.py portfolio

    It prints one row per project, most recent first: branch, uncommitted changes, other active sessions, waiting handoffs, the last session, and the path. If the script is missing, tell the user that the portfolio needs the Power Agents context component and stop.

  2. Answer the user's question from the table. Lead with what needs attention: uncommitted changes, waiting handoffs, and projects another session is working in. Keep it short; do not repeat the whole table unless asked.
  3. Do not change any repository, handoff, or lock. A project marked (missing) no longer exists at that path; remove its entry from portfolio.json only if the user asks.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.