Skip to content
Back to skills

239 Credits D9fd4d8c

ASecurity

This skill was inspired by **PSLab**, an open-source Salesforce permission analysis tool created by **Oumaima Arbani**.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
devopspythongitapisecuritydocumentation

Works with

  • claude code
  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 239-credits_d9fd4d8c --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 239 Credits D9fd4d8c?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 239 Credits D9fd4d8c
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-239-credits-d9fd4d8c/badge)](https://www.skillsdirectory.com/skills/tools-only-239-credits-d9fd4d8c)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Credits & Attribution

## PSLab - Permission Set Lab

This skill was inspired by **PSLab**, an open-source Salesforce permission analysis tool created by **Oumaima Arbani**.

- **GitHub**: [github.com/OumArbani/PSLab](https://github.com/OumArbani/PSLab)
- **Author**: Oumaima Arbani
- **License**: MIT

### What We Learned from PSLab

PSLab's Apex implementation provided the conceptual foundation for this Python-based skill:

1. **Permission Hierarchy Visualization** - The tree structure approach for showing PS/PSG relationships
2. **Permission Detection Queries** - The SOQL patterns for finding "who has access to X"
3. **User Permission Analysis** - The approach to tracing permissions through PSG membership
4. **Setup Entity Access** - How to query Apex class, VF page, and Custom Permission access

### Why Python Instead of Apex?

While PSLab uses Apex deployed to the user's org, this skill uses Python with `simple-salesforce` for several reasons:

1. **No deployment required** - Works with any org via API
2. **Cross-org analysis** - Can compare permissions across multiple orgs
3. **CLI integration** - Fits the Claude Code terminal workflow
4. **Rich TUI output** - Better terminal visualization with the `rich` library

### License Compliance

This skill is a clean-room reimplementation of PSLab's concepts in Python. No code was directly copied. The SOQL query patterns are based on standard Salesforce APIs and are not copyrightable.

---

## Other Resources

### Salesforce Documentation

- [Permission Sets Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/perm_sets_overview.htm)
- [Permission Set Groups](https://help.salesforce.com/s/articleView?id=sf.perm_set_groups.htm)
- [SetupEntityAccess Object](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_setupentityaccess.htm)

### Libraries Used

- **[simple-salesforce](https://github.com/simple-salesforce/simple-salesforce)** - Salesforce API client for Python (Apache 2.0)
- **[Rich](https://github.com/Textualize/rich)** - Terminal formatting library (MIT)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.