/flagrare:opportunity-scanfrom Flagrare
Scans org surfaces (OKRs, chat, tickets, docs, PRs, meeting notes) to find unowned problems that move a named metric, then proposes 2-3 end-to-end projects ranked by impact and promotion relevance. Use when asking what to own or lead next.
Ships in Flagrare. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
No em-dashes. Nothing this skill writes may contain an em-dash; use a comma, colon, or parentheses instead. Enforced by a repo hook. See
/flagrare:write-docs.
Plain words. In anything the user reads, use the plain names in
<plugin root>/lib/career/GLOSSARY.md("Senior behaviors", not "rubric rows"; "your written case", not "packet"; "the project you own", not "initiative"). The first time a term appears, say what it means in a few words and add the company's own word in parentheses when the user will hear it at work.
Impact-scan finds threads to weigh in on. The next level asks for more: finding a problem nobody assigned, and owning it through to a result someone can measure. This skill looks for those problems on purpose, checks nobody already owns them, and brings back two or three proposals the user could take to their manager.
The failure modes it must never enable:
This skill never posts, sends, or publishes anything. Sweeps are read-only, and the pitch is a draft for the user.
Helper scripts live at <plugin root>/lib/career/, where the plugin root is two directories above this skill's base directory. Run them as python3 <plugin root>/lib/career/<script>.py .... They only read and print JSON. Write every state file with the Write tool, reading it first if it exists: a sandboxed shell cannot write under ~/.claude/skills.
initiatives.py context --home "$HOME" --today <YYYY-MM-DD>: everything the ranking reads (see step 1).initiatives.py propose --home "$HOME" --today <date> --id <slug> --title "<plain words>" --evidence <link> [--evidence <link> ...] --proposal '<json>': plans initiatives.json with a proposal.initiatives.py status --home "$HOME" --today <date> --id <slug> --status <status> [--aligned-with "<who>"] [--note "<why>"]: plans one status change.initiatives.py run --home "$HOME" --today <date>: plans opportunity-state.json with this run's date.A script that refuses (exit code 2) prints the reason; tell the user in plain words and do not work around it. The state files' shapes are in <plugin root>/lib/career/STATE.md.
python3 <plugin root>/lib/career/career_state.py plan --home "$HOME" and apply each write action with the Write tool, reading the target first if it exists. Never delete anything.~/.claude/skills/flagrare/config.json. This skill sweeps the same surfaces as impact-scan and reuses its onboarding: surfaces, domains, target behaviors and audience come from skills["impact-scan"] (or the older skills["senior-scan"]). If neither block has onboarding_complete: true, run the onboarding in <plugin root>/skills/impact-scan/SKILL.md (identity, career target, domains, surfaces; skip voice and board if the user wants to move on) and save it under skills["impact-scan"]. This skill's own block, skills["opportunity-scan"], holds cadence_days (default 30) and, optionally, weights for the ranking (step 4).Called by /flagrare:career. When the arguments say this run comes from the career coordinator, run only when due, and end at the proposals digest without the closing question; the coordinator asks once at the end, and when the user answers about a proposal, record it with step 6. Before returning, in both interactive and scheduled runs, record every proposal that is not already in initiatives.json as a candidate with one sighting (python3 <plugin root>/lib/career/career_state.py candidate --home "$HOME" --id <slug> --title "<problem>" --evidence <its strongest link> --today <date> --details '<json>', where the details are the drafted problem, hypothesis, metric, baseline, target, lever, first_step, pitch, owner_check and the step 4 score, so the board can show and rank them while the user decides; reuse the id of a handed-off candidate or a dismissed problem instead of making a new one), so the proposals survive until the user decides, then run initiatives.py run and write opportunity-state.json with the Write tool so the cadence counts from today. When the arguments also say scheduled, never ask anything. Keeping, dismissing and activating always wait for the user.
Anchor the clock first, exactly as /flagrare:impact-scan step 0 describes (or take now from the coordinator's arguments): every date in the proposals (a deadline, a planning cycle, "since" on evidence) is judged against it, and a change mentioned inside the window is new only if it happened inside the window.
Run initiatives.py context. It prints:
has_map, and from the promotion map: target (target_level, cycle, why, more_of, less_of), open_rows (rubric rows not yet done), unseen_people, decision_process (artifact, usual_driver), and packet_deadline. more_of and less_of are lists by design; for the single-valued facts (target_level, cycle, the decision_process fields, packet_deadline), a list means the map's sources disagree: show every option, never pick one.initiatives: the active one (or null), proposed and candidates (each ranked: highest score first, unscored last, with rank {total, max, is_fix}) and dropped (each with seen_again: seen since it was dismissed).cadence: last_run, days_since, cadence_days, due, next_due, and window_start, the first day to sweep (the last run, or 30 days back the first time, never more than 90 days back).fallback: the impact-scan config's target_behaviors, domains and audience.priorities: the company's themes and the metrics leadership watches, from the promotion map, each with metric, baseline, target, owner_team and user_lever (owner when the user's seat owns the metric's main input, input when their systems feed it, none when the lever sits in another team).Cadence. When the user asked for this scan, run it even if it is not due. When /flagrare:career or a schedule started it and due is false, stop and say when it is next due (next_due).
Without a map the scan still runs. Ranking uses the configured target behaviors and domains; the "which open row" and "before the target cycle" factors are skipped; the first step defaults to bringing the problem to the manager. Say once, in the digest header, that /flagrare:promotion would sharpen the ranking.
With an active initiative, open the digest with a one-line check-in on it (what the last evidence shows, and whether it looks done). New proposals are still made, but none can become active until the current one is done or dropped.
Build the list of metrics this scan ranks against before looking at any finding, so impact decides the ranking instead of breaking ties.
priorities in the context.For each metric, write one line: the metric, its baseline with a source (or Check first: and where the number lives), the team that owns it, and the user's lever from their seat (owner, input or none, judged from their domains and the systems they work in). Keep it to the five or six that matter most.
Spawn one read-only sweep subagent per configured surface (including a meeting-notes surface such as Granola, when configured), all in the same message so they run concurrently, over window_start to today. Each gets its surface's scope, the domain map with keywords, the exclusions and the user's identity. Sweeps never post, react or comment.
Every sweep hunts the same five signals:
From meeting notes, take priorities, decisions and problems people raised; never quote what someone said about another person, and never surface private remarks.
Each finding comes back as: the problem in plain words, every evidence link, who is affected, who has talked about it, which metric from step 1b it touches (if any) and any number that sizes it, and any sign of an owner (an assignee, a ticket in progress, someone saying "I'm on it", a roadmap or planning doc that already schedules it).
Add the candidates from initiatives.json (the problems impact-scan handed off) to the findings, and any dropped item with seen_again: true, marked as dismissed before.
For every finding, check whether someone already owns it before ranking it:
Record what you checked in one sentence (it becomes the proposal's owner_check). If someone owns it, or a roadmap or planning doc already schedules it (it will be done anyway), cut it and name the owner or the plan on the digest's Cut line; if the owner has gone quiet for weeks, it can stay, as "offer to help or take over", never as the user's own. A finding you could not check is cut too, with the reason.
Three more hard filters first:
user_lever none and nothing in the user's seat feeds it), it goes on the "Offer to help" line with the owning team, never as the user's own project.Then score each survivor 0-2 on these factors (the key in parentheses is the name the score is stored under). Impact counts double, so the most is 18:
impact, x2): how much the metric would move, sized from a number with a source (orders, partners, revenue, a complaint rate). A guess with no number scores 0 and gets a Check first: for where the number lives.
Size it with /flagrare:measure-impact (before <the problem's strongest link> quick nosave called by /flagrare:opportunity-scan), only for findings that survived the hard filters, at most the top 3: its baseline, or its comparable scaled by the right base, with the confidence level, is the impact reason. A baseline it reports as unknown scores 0 here and carries its Check first:. Nothing is saved at this point.lever): the user's seat owns the input (2), feeds it (1).fit): it matches what the user wants more of, and is not something they want less of (with no map: their configured target behaviors).rubric): it closes one of the open_rows; pick the row from open_rows only, never invent one (no map: skip, score 1).who_notices): people who would notice the result, with extra weight when they are in unseen_people (with no map: the configured fallback.audience).standing): the user knows the area (one of their domains, systems they have worked in).evidence): how often it came up and from how many places; a handed-off candidate with seen_count 2 or more starts at 2.timing): it can show a result before the packet_deadline (no map or no deadline: skip, score 1).Write each score down with a one-line reason, as score in the proposal: {"impact": {"value": 2, "why": "about 300 partners a month ask where their money is"}, ...}. The reason names the number, person or link behind the value, so the user can argue with it. The library adds the total and sorts by it (rank in context: total, max, and is_fix when impact is 0), and the board shows the ranking with each reason. A user who weighs factors differently sets skills["opportunity-scan"].weights (whole numbers 1 to 3 per factor, for example {"fit": 2}), and the library applies them; never re-weigh by hand.
Drop anything scoring 0 on Impact, Standing or Evidence. Keep the top 3. Fewer than three good ones is a fine result: say so instead of padding with small fixes.
Rank the ones already waiting too. Candidates and earlier proposals without a score (the rank.total in context is null) get scored the same way in this run, so the board's ranking covers everything on the table. Record them with career_state.py candidate --details (a candidate) or propose (a kept proposal), adding the score and keeping every field already there.
The digest is short: the user should know what each proposal is from its first line.
## Opportunity scan: <date>, window <window_start> to <today>. <caveats: surfaces skipped, no map, not due but run on request>
<one line on the active initiative, when there is one>
<Still on the table: each earlier `proposed` item, one line each with its title and when it was proposed, when there are any>
### 1. <the outcome, for whom: "Partners understand what they earned", not "Fix the payout page">, <total> of <max>
**Moves:** <metric> from <baseline, with its source> to <target> by <date, the written case's deadline when there is one>. **Your lever:** <what in your seat moves it>.
**Evidence:** <links, each with three words on what it shows>
**Owner check:** <what was searched, in one sentence, and who owns it, if anyone>
**The bet:** We believe <change> will <result> because <reason>. **Success:** <how the metric is measured, decided before building>. (<rubric row id>, only with a map)
**Rough impact:** <who gets what, in numbers where you have them>. **Who cares:** <people or teams, and why now>.
**First step:** <the smallest step, fitted to how decisions are made>
**Pitch for your manager:** <three sentences at most, in the user's voice>
(repeat, at most 3)
**Offer to help:** <finding: the owning team, and what you'd bring>; ...
**Fixes worth mentioning:** <small fix: one line>; ...
**Cut:** <finding: reason (owned by X, already planned, could not verify, no standing)>; ...
Rules:
decision_process.usual_driver is a PM or product role, the first step feeds evidence to them for their artifact, and the pitch offers to own the engineering side. When it names engineering, the first step can be a short written proposal. Without a map, the first step is bringing it to the manager.Check first: with the single check instead of the claim.~/.claude/skills/flagrare/career/voice.md when it exists. First person, no preamble, no flourish.Earlier proposals the user kept but has not started stay on the "Still on the table" line, not in the three new slots; ask whether any is now agreed with the manager or should be dropped.
Stop after the Cut line. Ask which proposals to keep, which to dismiss, and whether any is already agreed with their manager.
After the user answers, write each change with the Write tool, one script call at a time (each reads the file the previous one wrote):
initiatives.py propose with the fields below. Start from the candidate's draft_proposal when it has one, draft any required field it lacks (pitch and lever often are), carry its score over, and show the user the full proposal before recording it. For a handed-off candidate, reuse its id so its sightings carry over. For a problem the user dismissed before, compare this run's findings with the dropped entries in step 2: when the user keeps one that has not been seen since it was dismissed, run status --status candidate first, then propose.initiatives.json (a handed-off candidate, an earlier proposal, a dismissed problem seen again), initiatives.py status --status dropped --note "<why, in the user's words>"; it will not come back unless it is seen again. A new finding from this run that the user dismisses is simply not recorded (under the coordinator it was already recorded as a candidate, so dismiss it through the script like any other entry). A handed-off candidate the user neither keeps nor dismisses stays a candidate and comes back next run.propose, if it is not already proposed), then initiatives.py status --status active --aligned-with "<who>" --note "<where or how it was agreed>". Only a proposal can become active, only one at a time, and never without the user saying their manager agreed. Do not suggest skipping that conversation. Then save its bet: run /flagrare:measure-impact with before <the proposal's strongest evidence link> quick called by /flagrare:opportunity-scan, reusing the proposal's metric, baseline and target, so the bet is followed after launch. Kept proposals are not saved, so the ones never started do not come back as bets waiting for a launch.--status done or --status dropped.--status candidate first, then propose.The --proposal JSON holds: problem, hypothesis, metric, impact, who_cares, why_now, first_step, pitch, owner_check, lever (what in the user's seat moves the metric), baseline, target, by, decision_fit (how the first step fits the decision process), score (step 4, checked by the script), and rubric_rows (ids from open_rows, empty without a map). The script refuses a proposal missing problem, hypothesis, metric, first_step, pitch, owner_check or lever.
Finally run initiatives.py run and write opportunity-state.json, even when nothing was kept, so the cadence counts from today. If a write fails, say so: the next scan would re-propose the same things.
When an initiative becomes active, suggest logging its milestones as contributions with /flagrare:impact-scan as they land; the contributions log stays the evidence trail.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flagrare/agent-skills --plugin flagrare43 skills in this plugin
/atdd-planProduce an ATDD-first implementation plan in Claude Code's native plan mode, with named design patterns called out where they earn their keep. The skill enters plan mode automatically (via the EnterPlanMode tool), runs /flagrare:codebase-explore to ground the plan in the actual codebase, then produces a plan-mode plan that MUST include both: (1) 3-5 acceptance tests in plain English defining 'done' before any implementation, written behavior-first against the public API only; and (2) any non-trivial structural decisions named as design patterns with a one-line rationale. Plan mode's native approve/edit/reject button UI is the close, ExitPlanMode is how the skill ends. Use whenever the user wants to plan a feature, fix, or refactor, 'how should we implement X', 'plan this', 'let's design X', 'where do we start on Y'. Tests follow Kent Dodds Testing Trophy: behavior over implementation, integration-heavy, public-API-only, refactor-proof. The skill stops at the plan; it does not write implementation code./brag-docGenerate a comprehensive, impact-framed brag-doc entry for a chosen time window (day, week, biweek, month, or custom). Pulls authored PRs, reviews given, commits, deploys, and linked tickets across GitHub, local git, and configured MCPs, then synthesises a themed narrative, leading with outcomes, quantifying impact, owning the work in first-person past tense, separating IC contributions from amplification, and naming the judgment exercised. Output is designed to drop straight into a developer journal, a personal bragging sheet, or a performance-review packet. Accepts a mode argument, `/flagrare:brag-doc resumancer` renders the output as ready-to-paste Resumancer CLI commands (`resumancer impact "..." --branch ...`) instead of markdown. Use whenever the user says "brag doc", "brag sheet", "what did I do this week", "weekly recap", "monthly recap", "performance review prep", "what should I tell my manager", "summarise my impact", "career log entry", "give me my wins", "biweekly recap", or any variant about looking back over a longer window than a single day's standup. Also trigger near review season ("self-review", "perf packet", "evaluation prep"), and on phrases like "log my wins to resumancer" or "make resumancer entries for this week" (which should pass the `resumancer` mode). For windows longer than about a month, a tenure retrospective, a departure record, or "everything I did at this company", hand off to `/flagrare:impact-timeline` instead; this skill's window tops out at a month./bug-bashProgrammatic bug bashing, ingest a prescribed test plan (Notion, markdown, pasted spec), drive a real running system (browser via Chrome DevTools / Playwright MCP, backend via API tools when relevant), run every prescribed case with evidence, then do exploratory passes (viewports, edge inputs, multi-actor flows, codebase-driven concerns, additional context like meeting transcripts, emails and links checked in the real inbox with a control case, other languages, failures and races) without ever claiming a bug it didn't itself reproduce. Fills free-text fields with tagged, playful test data that also probes something (unicode, HTML, template syntax, length). Lands results in a local MD file by default, optionally writes back to the source (Notion bug DB, test case Eng QA columns, etc.) in the user's voice. Use whenever the user says 'bug bash', 'QA this feature', 'run the test cases', 'go through this test plan', 'verify these scenarios', 'do a bash on X', when they hand over a Notion test case page, or any time programmatic end-to-end verification of a feature against a checklist is needed. Also use it when a smoke test passed but the user wants more cases tested, or asks 'what else should we test' and then 'test it yourself'. Make sure to use this skill even when the user just says 'test this Notion page' or 'check these scenarios', anything that smells like running someone else's prescribed test plan against a live system./careerRun the career skills that are due, in one pass, and return one short combined digest plus an updated board. It reads timestamps and flags to decide: the promotion map's first run when there is none (after asking), a refresh of map sections that are older than 90 days or flagged by a scan, an opportunity scan when the last one is a month old, and an impact scan every time. The digest leads with the initiative the user owns and its next step, then up to 5 threads worth weighing in on, one line on the promotion map (open rubric rows, people who haven't seen the work, when to talk to the manager, the packet deadline), anything that needs the user, and an "all answering, nothing owned" warning when the user keeps replying but owns nothing. A scheduled run (from /loop or a schedule) never asks questions and never posts; it lists what needs the user as pending. Use when the user says "career", "career check", "career digest", "run my career skills", "what should I do for my promotion this week", "daily career scan", or sets up a recurring career run. Also trigger for a scheduled career run./codebase-exploreExplore the codebase to map conventions, reusable utilities, analogous features, and data flows relevant to a planned change. Returns raw findings (file paths, patterns, code snippets), does NOT produce a plan. Used by /flagrare:atdd-plan as its codebase understanding step./communication-setupSet up, change or remove how Claude talks to you: a custom output style with your reply rules, a reminder of those rules on every message, and a Stop hook that quietly nudges Claude when a reply runs a little long and blocks one that runs far past your limit. Use when the user says Claude's replies are too long, exhausting, hard to skim, full of process narration or caveats, 'you make me work for the information', 'talk to me shorter', 'communication setup', 'set up how you talk to me'; when the length check or reply-length hook blocked a reply it shouldn't have, or the user wants a different limit or style; or asks to remove or undo it ('remove communication setup', 'go back to normal replies').Other plugins' skills for the same job