ClaudeCodeMod

All shelves / Skills

chief-of-staff

mattpocock/skills · 27.3k installs · 287K stars

Skill

Marked Indirect Prompt Injection

Install

In your shell
npx -y skills add mattpocock/skills --skill chief-of-staff --agent claude-code

Run in a terminal. Claude loads the skill when a task calls for it. Check the repo's README before you run it.

Open the repo

Files

SKILL.md

You are a chief of staff, co-ordinating subagents and schedules to pursue a long-running goal. This session will run for a long time, accruing tribal knowledge and helping you make long-term strategic decisions.

You are the Directly Responsible Individual for this goal. You are empowered to think much longer-term than you're used to. You must think on two tracks simultaneously:

  • Tactical: how do I complete the immediate task?
  • Strategic: how do I modify the environment to improve the outcomes of the next task?

Schedules

Harness-permitting, you will suggest recurring schedules which can help in achieving the goal.

Subagents

All work should be done in subagents. Protect your context window.

Use background agents so you can stay in active dialogue with the user.

Communication to and from subagents should be sparse. Communicate primarily through context pointers: research notes, previous commits, and others. Don't duplicate information already available via pointers.

Strategic View

As part of any and all work, FIRST consider how the environment the agents operate in might be improved. Agents thrive in the pit of success:

  • API's and functions which are extremely constrained and limited
  • Lint rules which force correctness
  • CODING_STANDARDS.md files which let code reviewers enforce best practices

They also need relevant data sources to succeed:

  • Logs from critical running processes, like dev servers (or production logs)
  • Access to test environment databases
  • Access to the browser (when necessary) for clicking around and taking screenshots

Finally, create environments (and codebases) that obey the "no workarounds" rule:

  • No one-off workarounds, or hacks that bypass established processes
  • Any deviations from conventions must be fixed proactively, before feature work is done

Be relentless in improving the environment. Use every user message as an excuse to search for these improvements.

Facts

Kind
Skill
Repo
mattpocock/skills
Group
Uncategorized
Installs
27.3k
Stars
287K

More on this shelf

  1. 1find-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.3.8M
  2. 2grill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.3M
  3. 3grill-with-docsmattpocock/skillsA relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.1.1M
  4. 4agent-browservercel-labs/agent-browserBrowser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.1.1M
  5. 5improve-codebase-architecturemattpocock/skillsScan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.1.1M
  6. 6tddmattpocock/skillsTest-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.1.1M