Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "perfloop",
"displayName": "Perfloop",
"version": "1.1.0",
"version": "1.1.1",
"description": "Perfloop finds performance problems, bugs and security flaws in your code. Each change comes with proof: a measurement or a tested assertion. Your coding agent can steer it.",
"author": {
"name": "Perfloop",
Expand All @@ -14,6 +14,8 @@
"keywords": [
"performance",
"performance-engineering",
"bugs",
"security",
"latency",
"optimization",
"mcp"
Expand Down
64 changes: 25 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,37 @@ Always-on engineering. Every change proven.

Perfloop finds performance problems, bugs and security flaws in your code.
Perfloop measures each performance change it proposes against the original code.
A bug fix or security repair must fail its test on the original code and pass
after the change. Your plan and each repo's settings in Setup decide which kinds
of work Perfloop does. Setup is a page in the Perfloop app. Your team chooses
the repos Perfloop works on and what it should improve. This repository connects
your coding agent to Perfloop's MCP server at `https://app.perfloop.ai/mcp`.
A bug fix or security repair must show a stated assertion failing on the original
code and holding after the change. This repository connects your coding agent to
Perfloop's MCP server at `https://app.perfloop.ai/mcp`.

With the MCP server connected, your agent can submit a branch or a pull request
and read the ranked hypotheses Perfloop finds on the change: possible problems,
not yet proven. A Case is Perfloop's record of one finding and the work on it.
Your agent can read a Case and its evidence, and start or stop that work. It can
also send Perfloop feedback on the work. Perfloop opens pull requests. It cannot
approve or merge one, and it cannot deploy.
Your agent can read a Case and its evidence, start or stop that work, and send
Perfloop feedback on it. Perfloop opens pull requests. It cannot approve or
merge one, and it cannot deploy.

Security work is defensive: Perfloop finds security flaws in the repos you
connect and proves fixes for them. It is available on the [Pro and Enterprise
plans](https://perfloop.ai/pricing), once the Perfloop team turns it on for your
workspace. Only members of your workspace can see a security Case, even for a
public repo. When Perfloop reviews a pull request on a public repo, the review
leaves out security findings. Perfloop does not open a pull request or issue for
a security fix on a public repo. Download the fix from the Case; if someone else
maintains the repo, send it to them privately. Read the [Security
guide](https://perfloop.ai/docs/work/security) before sharing a finding.
connect and proves fixes for them. It is not on in every workspace, and each repo has
its own Security work switch in Setup; the
[Security guide](https://perfloop.ai/docs/work/security) says where it is
available. Keep a security finding out of public pull
requests and issues: download the fix from the Case and send it privately to the
repo's maintainers. Read the Security guide before sharing a finding.

## First run

1. Get a Perfloop account at [perfloop.ai](https://perfloop.ai), or accept an
invitation to a workspace.
2. An Admin connects a code host, such as GitHub, and selects repos in Setup
in the Perfloop app. Perfloop works only on selected repos.
2. An Admin connects a code host, such as GitHub, in Setup in the Perfloop
app.
3. Install this plugin in your agent (below) and sign in with your Perfloop
account.
4. Ask your agent to list your Perfloop Cases, or to submit your branch.

The agent guide, with each job as tool calls, is at
[perfloop.ai/docs/work/mcp](https://perfloop.ai/docs/work/mcp).
4. An Admin selects repos in Setup. For GitHub repos, an Admin can instead
ask the agent to select them after signing in. Perfloop works only on
selected repos.
5. Ask your agent to check and triage what Perfloop is finding in your code.

## Install

Expand Down Expand Up @@ -68,25 +64,15 @@ then start the server and sign in when VS Code asks.
Every other agent: the steps are at
[perfloop.ai/docs/work/mcp](https://perfloop.ai/docs/work/mcp).

## Skill

`skills/perfloop/SKILL.md` tells your agent how to connect to Perfloop and
use it. Claude Code loads it with the plugin. For other agents, install only
the skill from perfloop.ai:

```sh
npx skills add https://perfloop.ai
```

## What this plugin sends

The plugin holds no code and no credential. It only tells your agent where
the Perfloop MCP server is. Your agent signs in through Perfloop's sign-in
page at `auth.perfloop.ai`, then sends its tool calls and their arguments to
`app.perfloop.ai`. Perfloop does not receive your conversation history. Your
role in the workspace decides what the agent can read or change, and every
write is recorded under your account. Tools that start work say so, because
that work is paid from the workspace's Usage balance.
The plugin holds no code and no credential. It tells your agent where the
Perfloop MCP server is, and its skill tells the agent how to use it. Your agent
signs in through Perfloop's sign-in page at `auth.perfloop.ai`, then sends its
tool calls and their arguments to `app.perfloop.ai`. Perfloop does not receive
your conversation history. Your role in the workspace decides what the agent can
read or change, and every write is recorded under your account. Tools that start
work say so, because that work is paid from the workspace's Usage balance.

[Privacy](https://perfloop.ai/privacy) · [Terms](https://perfloop.ai/terms) ·
[Security](https://perfloop.ai/security) · [Support](https://perfloop.ai/contact)
Binary file removed assets/icon-dark.png
Binary file not shown.
Binary file modified assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/logo-dark.png
Binary file not shown.
Binary file removed assets/logo.png
Binary file not shown.
4 changes: 1 addition & 3 deletions llms-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ their Perfloop account through OAuth.

The user needs a Perfloop account in a workspace with a connected GitHub
repo. If they have none, they get an account at https://perfloop.ai, and an
Admin connects GitHub and selects repos in Setup in the Perfloop app. After
sign-in, an Admin's agent can also select repos with the `setup` and
`setRepositories` tools.
Admin connects GitHub and selects repos in Setup in the Perfloop app.

## Add the server

Expand Down
22 changes: 12 additions & 10 deletions plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "perfloop",
"version": "1.1.0",
"version": "1.1.1",
"description": "Perfloop finds performance problems, bugs and security flaws in your code. Each change comes with proof: a measurement or a tested assertion. Your coding agent can steer it.",
"author": {
"name": "Perfloop",
Expand All @@ -14,6 +14,8 @@
"keywords": [
"performance",
"performance-engineering",
"bugs",
"security",
"latency",
"optimization",
"mcp"
Expand All @@ -23,36 +25,36 @@
"interface": {
"displayName": "Perfloop",
"shortDescription": "Always-on, proven engineering.",
"longDescription": "Perfloop finds performance problems, bugs and security flaws in your code. Perfloop measures each performance change it proposes against the original code. Your team chooses the repos and goals Perfloop works on.\n\nEach correctness claim proves one stated assertion about the code with the change. A bug fix or security repair must fail its test on the original code and pass after the change. Your plan and each repo's settings in Setup decide which kinds of work Perfloop does. Security work is defensive: Perfloop finds security flaws in the repos you connect and proves fixes for them. It is available on Pro and Enterprise, once the Perfloop team turns it on for your workspace. Only members of your workspace can see a security Case, even for a public repo. When Perfloop reviews a pull request on a public repo, the review leaves out security findings. Perfloop does not open a pull request or issue for a security fix on a public repo. Download the fix from the Case; if someone else maintains the repo, send it to them privately. Read https://perfloop.ai/docs/work/security before sharing a finding.\n\nWith Perfloop connected, your agent can submit a branch or a pull request, and Perfloop lists ranked hypotheses on the changed code, each with a size estimate. Read a Case's evidence and measurements. Start or stop work on it, and steer it with feedback. Decide what waits in the Inbox, such as a pull request that is ready to open.\n\nPerfloop opens pull requests. It cannot approve or merge one, and it cannot deploy. Every write is recorded under your account.\n\nYou need a Perfloop account with a connected GitHub repo. You sign in with that account, and your role in the workspace decides what the agent can read or change. Tools that start work say so, because that work is paid from the workspace's Usage balance.",
"longDescription": "Perfloop finds performance problems, bugs and security flaws in your code. Perfloop measures each performance change it proposes against the original code. Your team chooses the repos and goals Perfloop works on.\n\nEach correctness claim proves one stated assertion about the changed code. For a bug fix or security repair, the check must fail on the original code and pass with the change. Security work is defensive: Perfloop finds security flaws in the repos you connect and proves fixes for them. It is not on in every workspace, and each repo has its own Security work switch in Setup; https://perfloop.ai/docs/work/security says where it is available. Keep a security finding out of public pull requests and issues: download the fix from the Case and send it privately to the repo's maintainers. Read the security guide before sharing a finding.\n\nWith Perfloop connected, an agent can submit a branch or a pull request. Perfloop then ranks possible problems in the changed code, not yet proven, each with a work estimate. The agent can read a Case's evidence and measurements, start or stop work on it, and steer it with feedback. It can approve or reject what waits in the Inbox, such as a pull request that is ready to open.\n\nPerfloop opens pull requests. It cannot approve a pull request on the code host, merge one, or deploy. Every write is recorded under your account.\n\nYou need a Perfloop account with a connected code host, such as GitHub. You sign in with that account, and your role in the workspace decides what the agent can read or change. Tools that start work say so, because that work is paid from the workspace's Usage balance.",
"developerName": "Perfloop",
"category": "Developer Tools",
"capabilities": [
"List Cases and read the evidence and code behind each one",
"Start or stop work on a Case",
"File feedback that steers the work",
"Read the model Perfloop keeps of your system",
"Read what Perfloop has learned about your repos",
"Create an Initiative and steer its research",
"Submit a branch or pull request and read ranked hypotheses about performance, bugs and security",
"Decide what waits in the Inbox"
"Approve or reject what waits in the Inbox"
],
"websiteURL": "https://perfloop.ai",
"supportURL": "https://perfloop.ai/contact",
"privacyPolicyURL": "https://perfloop.ai/privacy",
"termsOfServiceURL": "https://perfloop.ai/terms",
"defaultPrompt": [
"Which Perfloop Cases on my repo are verified, and what did each one measure?",
"What performance problems, bugs and security flaws did Perfloop find on my open pull request?",
"Which Perfloop Cases on my repo are verified, and what did each one prove?",
"What does Perfloop suspect is slow or wrong in my repo?",
"What is waiting for my decision in the Perfloop Inbox?"
],
"brandColor": "#3B82AF",
"brandColorDark": "#3B82AF",
"composerIcon": "./assets/icon.png",
"composerIconDark": "./assets/icon-dark.png",
"logo": "./assets/logo.png",
"logoDark": "./assets/logo-dark.png"
"composerIconDark": "./assets/icon.png",
"logo": "./assets/icon.png",
"logoDark": "./assets/icon.png"
},
"publication": {
"release_notes": "Adds the Perfloop agent skill and describes performance, bug and security work, each with proof."
"release_notes": "First release in the ChatGPT and Codex directory. Connects to the Perfloop MCP server to read Cases and their proof, submit a branch or pull request, and approve or reject Inbox items."
}
}
}
Expand Down
41 changes: 16 additions & 25 deletions skills/perfloop/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,30 @@ description: Work with Perfloop, which finds performance problems, bugs and secu

Perfloop finds performance problems, bugs and security flaws in the user's code.
Perfloop measures each performance change it proposes against the original code.
A bug fix or security repair must fail its test on the original code and pass
after the change. The plan and each repo's settings in Setup, a page in the
Perfloop app, decide which kinds of work Perfloop does. A Case is Perfloop's
record of one finding and the work on it.

Security work is defensive: Perfloop finds security flaws in the repos the user
connects and proves fixes for them. It is available on Pro and Enterprise, once
the Perfloop team turns it on for the user's workspace. Only members of the
user's workspace can see a security Case, even for a public repo. When Perfloop
reviews a pull request on a public repo, the review leaves out security
findings. Perfloop does not open a pull request or issue for a security fix on a
public repo. Tell the user they can download the fix from the Case and, if
someone else maintains the repo, send it to them privately. Before you or the
user share a finding, read https://perfloop.ai/docs/work/security.

Perfloop opens pull requests. It cannot approve, merge or deploy.
A bug fix or security repair must show a stated assertion failing on the original
code and holding after the change. A Case is Perfloop's record of one finding
and the work on it. Perfloop opens pull requests. It cannot approve, merge or
deploy. Security work is not on in every workspace, and each repo has its own
Security work switch in Setup; https://perfloop.ai/docs/work/security says
where it is available.

You use Perfloop through its hosted MCP server.

## Connect

1. The user: get a Perfloop account. Sign up at https://perfloop.ai, or accept
an invitation to a workspace.
2. An Admin, in the Perfloop app (not you): connect a code host, such as GitHub,
and select repos in Setup.
2. An Admin, in Setup in the Perfloop app (not you): connect a code host, such
as GitHub.
3. You: add the remote MCP server `https://app.perfloop.ai/mcp` with the
Streamable HTTP transport. Do not add an API key or an `Authorization`
header.
4. Your MCP client opens the sign-in page itself, using the server's OAuth
metadata. The user signs in with their Perfloop account in the browser.

When the user who signed in is an Admin, you can also choose which repos
Perfloop works on, with the `setup` and `setRepositories` tools. This works for
GitHub and for Cursor Origin. Cursor Origin is another code host, which the
Perfloop team turns on per workspace.
5. An Admin selects the repos Perfloop works on in Setup. For GitHub repos,
when the signed-in user is an Admin, you can select them with the
server's repository tools instead. Selecting can start paid work, so ask
first.

The steps for each coding agent are at https://perfloop.ai/docs/work/mcp.

Expand All @@ -54,5 +43,7 @@ The steps for each coding agent are at https://perfloop.ai/docs/work/mcp.
paid from the workspace's Usage balance. Ask the user before you call one.
- Report results as the tools return them, with the Case link. Do not invent
numbers.

The full agent guide is at https://perfloop.ai/docs/work/mcp.
- Do not put a security finding or its fix in a public pull request, issue
or comment. Tell the user to download the fix from the Case and, if someone
else maintains the repo, send it to them privately. Read
https://perfloop.ai/docs/work/security first.