08 [Free course](https://logicpacks.io/learn) · Lesson 8 of 12 · 5 min

# Adding a contributor, and removing them

Adding someone should take one step, and removing them should leave nothing to clean up.

Roman Urdu: Kisi ko project mein add krna ek step ho, aur nikalna bhi aasan: un ki access wapas lo aur GitHub se hata do, koi key rotate nahi krni.

## Invite

Open `logicpacks.io/<owner>/<repo>/invite` for your repo (or use the MCP tool `invite_contributor`). It invites them on GitHub with your own login, gives them the pack and the keys they need inside your rules, and sends a link their agent checks and confirms. LogicPacks never stores your keys or your GitHub token.

Their agent then runs `uvx logicpacks@latest add github.com/<owner>/<repo> --clone` and can run the app on mocks right away.

## Set the rules up front

-   Which keys, and only for which hosts.
-   How long: keys expire.
-   How fast: a rate limit per key.
-   Dev or test keys where you can, so even a mistake stays small.

## Offboard

Take back each key and remove them from the repo. Your real keys never left your machine, so there is nothing to rotate.

## Try it

See who has access to what, then remove someone:

```sh
logicpacks grants
```

```sh
logicpacks revoke OPENAI_API_KEY --from @friend
```

```sh
gh api -X DELETE repos/<owner>/<repo>/collaborators/<their-github-user>
```

The last line uses the GitHub CLI with your own login. You can also remove them in the repo's Settings > Collaborators.

[Previous : Mocks and demo data: building without paid API keys](https://logicpacks.io/learn/mocks) [Next : Remixing an app: the Edit button](https://logicpacks.io/learn/remix)

---

Canonical URL: https://logicpacks.io/learn/add-a-contributor

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](https://logicpacks.io/llms.txt). Plain facts: [/about.md](https://logicpacks.io/about.md). Safety: [/safety.md](https://logicpacks.io/safety.md).
