log
Skill0 starsChanged 6 months agoMITView on GitHub
Generate a portfolio entry from your merged upstream contributions. Reads the active GitHub account from the shared profile, queries `gh search prs --author @me --state merged` for a configurable window (default 90 days), and renders a hybrid artifact — table-of-contents at the top, one detail block per PR below. Sources content from PR title + body verbatim; no embellishment, no auto-publishing.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- GvHildebrand/claude-code-skillstheir own version, first seen Oct 1, 2026
- gyroid-eth/orrery-telemetrytheir own version, first seen Sep 29, 2026
- thensls/nsls-personal-toolkittheir own version, first seen Sep 26, 2026
- aniklavida/agent-assembletheir own version, first seen Sep 17, 2026
- Jakeintech/waybilltheir own version, first seen Aug 23, 2026
- yuki4266/life-logtheir own version, first seen Jul 15, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- regent-vcs/re_gent★ 797same name
- gyroid-eth/orrery-telemetry★ 9same name
- OpenAnalystInc/10x-Code-Context★ 3same name
- aniklavida/agent-assemble★ 1same name
- Jakeintech/waybill★ 1same name
- thensls/nsls-personal-toolkit★ 1same name
- yuki4266/life-log★ 1same name
- GvHildebrand/claude-code-skills★ 0same name
- nbirkner/digital-brain★ 0same name
- shreyasugemuge/claude-health-coach★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- contribute-upstreamSkill
- find-issuesSkill
- profileSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 8 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Read the profile in this order:
- Very specific: line 31
If none exist, dispatch to the profile skill to set one up before continuing — the skill needs at least the Default GitHub account field.
- Very specific: line 36
If --account was passed, use it instead (no profile mutation — per-invocation override only).
- Very specific: line 37
If multiple gh accounts are logged in and the profile has no default, run gh auth status and ask the user which one to use.
- Very specific: line 38
If the resolved account is not currently active, switch to it for the duration of this skill: gh auth switch -u <login>.
- Distinctive: line 46
No flag → default to 90 days back from today.
- Very specific: line 58
If --limit 100 is hit, warn the user and suggest a tighter window — the skill does not auto-paginate, because a portfolio entry that …
- Very specific: line 62
Run pass 2 sequentially. N+1 round-trips is fine here — log runs on demand against a bounded set (typically <30 PRs in a 90-day window).
- Distinctive: line 110
If nothing useful remains after stripping, fall back to the title alone — no fabricated "what the fix shipped" narrative.
- Distinctive: line 118
Ask the user once:
- Very specific: line 122
Default to file if the user just hits enter — they can always print after.
- Distinctive: line 124
When writing to a file:
- Distinctive: line 130
Do not open the file, post it anywhere, or git add it.
- Very specific: line 136
Ask every time when accounts are ambiguous: If profile has no default and multiple gh accounts are logged in, prompt — don't fall back.
- Distinctive: line 137
Restore the active gh account: If the skill switched accounts in Phase 1, it switches back at the end.
- Distinctive: line 138
No PR-body fabrication: If the body is empty or templated-only, fall back to the title.
“Common” is measured: kept by at least 6 in 10 of the 9 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.
Files
log
Turn the merged-PR history of your GitHub account into a single portfolio artifact you can paste into a CV section, a quarterly recap, or your own notes.
This is a read-only skill. It does not post to LinkedIn, GitHub, or anywhere external. It writes a local file (or stdout) that you review and decide what to do with.
Usage
/oss-contribute:log # last 90 days, default account
/oss-contribute:log --since 2026-01-01 # explicit start date
/oss-contribute:log --since 30d # relative window (Nd, Nw, Nm, Ny)
/oss-contribute:log --account <gh-login> # override profile account
/oss-contribute:log --stdout # print instead of askingProfile location
Read the profile in this order:
$CLAUDE_PLUGIN_DATA/profile.md— when running as an installed plugin~/.claude/plugins/data/oss-contribute/profile.md— fallback for direct-installed plugins~/.claude/skills/oss-contribute/profile.md— fallback for local-development mode
If none exist, dispatch to the profile skill to set one up before continuing — the skill needs at least the Default GitHub account field.
Phase 1 — Resolve the account
- Load the profile. Read Default GitHub account.
- If
--accountwas passed, use it instead (no profile mutation — per-invocation override only). - If multiple
ghaccounts are logged in and the profile has no default, rungh auth statusand ask the user which one to use. Ask every time when ambiguous — do not silently fall back to the active account. - If the resolved account is not currently active, switch to it for the duration of this skill:
gh auth switch -u <login>. Restore the original active account at the end (even on failure — use a trap or always-runs cleanup).
Phase 2 — Fetch merged PRs (two-pass)
Resolve the window:
--since YYYY-MM-DD→ use verbatim.--since 30d/7w/3m/1y→ compute the date from today.- No flag → default to 90 days back from today.
Pass 1 — list URLs. gh search prs does not expose additions, deletions, changedFiles, or mergedAt. It also returns body inline, which sometimes contains raw control characters that break downstream jq parsing. So pass 1 only retrieves enough to identify each PR:
gh search prs --author "@me" --merged --merged-at ">=$WINDOW_START" \
--sort updated --order desc --limit 100 \
--json url,number,repository,titleCritical: --state merged is not valid (it accepts open|closed only). Use --merged (a flag) together with --merged-at ">=DATE" for the window. The README's "Checking your pipeline" one-liner uses the same form.
If --limit 100 is hit, warn the user and suggest a tighter window — the skill does not auto-paginate, because a portfolio entry that doesn't fit in one window is not a portfolio entry.
Pass 2 — per-PR detail. For each URL from pass 1, call gh pr view <url> --json mergedAt,additions,deletions,changedFiles. Fetch body separately via gh pr view <url> --json body --jq .body so control characters don't fail a multi-record jq parse. Cache the per-PR result in a temp shell variable — do not re-query.
Run pass 2 sequentially. N+1 round-trips is fine here — log runs on demand against a bounded set (typically <30 PRs in a 90-day window).
Phase 3 — Render the artifact
Hybrid format: table-of-contents at the top, one detail block per PR below.
# Contributions — <window label>
| Date | Repo | PR | Diff |
|---|---|---|---|
| <merged-date> | <owner/repo> | <#N> | +<add>/-<del> |
| ... |
---
## <owner/repo>#<N>
**Merged** <merged-date> · **Diff** +<add>/-<del> across <N> files
<PR title>
<first non-empty paragraph of PR body, verbatim — see "Body extraction" below>
Link: <PR url>
---
## ...Window label
--since YYYY-MM-DD→"Since <date>"--since 90d(default) →"Last 90 days"or quarter label if it lines up ("2026-Q2"when the window approximates one calendar quarter)--since 1y→"Last 12 months"
The label is cosmetic — when in doubt, just use "<start-date> → <today>".
Body extraction
Source from PR title + body verbatim. Do not invent context, do not infer what the bug was beyond what the body literally says.
For the body block:
- Strip GitHub PR-template scaffolding:
## Test plan,## Checklist,<!-- ... -->HTML comments, image markdown that points at user-attachments, AI-attribution trailers (the plugin's own rule applies in reverse here — if the body has one, drop the line), and auto-generated bot summaries (e.g.## Summary by CodeRabbit). - Skip leading reference-only paragraphs — paragraphs whose only content is one or more of
Fixes #N,Closes #N,Resolves #N,Related: #N,Refs #N, or the same prefixed with<owner>/<repo>(e.g.Fixes cloudflare/workers-sdk#13871). These are issue links, not narrative. A naive "first non-empty paragraph" rule yields "Fixes #13871" as the body, which is useless. - Take the next non-empty paragraph that remains. Cap at ~400 chars; truncate with
…if longer. - If nothing useful remains after stripping, fall back to the title alone — no fabricated "what the fix shipped" narrative.
Sort order
Detail blocks: newest merged first (matches the table). Easy mental model — the table and the blocks are in the same order.
Phase 4 — Output
Ask the user once:
Write to
~/Documents/oss-contribute/log-<YYYY-MM-DD>.mdor print to stdout?
Default to file if the user just hits enter — they can always print after. If --stdout was passed, skip the prompt and print.
When writing to a file:
mkdir -p ~/Documents/oss-contribute/(idempotent).- Filename:
log-<today-YYYY-MM-DD>.md. If a file with that name already exists, append a numeric suffix (-2,-3, ...) rather than overwriting. - Print the absolute path of the file you wrote.
Do not open the file, post it anywhere, or git add it. This is a local artifact.
Hard rules
- No invented data. Title, body, dates, diff size — all from
ghverbatim. No "this fix improved performance by X%" unless the PR body says so literally. - No auto-publishing. Stdout or local file only. The skill never posts to LinkedIn, X, a GitHub Gist, the consumer repo, or anywhere external.
- Ask every time when accounts are ambiguous. If profile has no default and multiple
ghaccounts are logged in, prompt — don't fall back. - Restore the active gh account. If the skill switched accounts in Phase 1, it switches back at the end. Even on failure.
- No PR-body fabrication. If the body is empty or templated-only, fall back to the title. Do not write "this PR fixes a bug in X by doing Y" inferred from the diff stats.
- Read-only. The skill never modifies the profile, never opens a PR, never writes to the consumer repo. Only writes the one log file (or stdout).
When this skill is the wrong tool
- You want a journal of every contribution attempt, including bails. Out of scope — the rejected-
pipelinereasoning in the README applies. Append a one-liner toCONTRIBUTIONS.mdin the consumer repo instead. - You want to find something to contribute to. Use
/oss-contribute:find-issues. - You want to ship an upstream fix. Use
/oss-contribute:contribute-upstream. - You want a status of open PRs (not merged). Out of scope —
gh search prs --author @me --state openis one line, no skill needed (see README "Checking your pipeline").
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
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.

