pd-setup
Skill0 starsChanged 29 days agoMITView on GitHub
One-time setup and health check ("doctor") for the pd-* Pipedrive skills. Caches pipelines, stages, users and custom fields, records industry and output preferences, and reports which skills are ready. Use on first install, when something breaks, or after adding a connector.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- bushuhui/skillstheir own version, first seen Jun 5, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- bushuhui/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- pd-accessSkill
- pd-account-healthSkill
- pd-advisorSkill
- pd-askSkill
- pd-coreSkill
- pd-crm-architectSkill
- pd-data-hygieneSkill
- pd-follow-upSkill
- pd-icp-discoverySkill
- pd-industrySkill
- pd-lead-qualifierSkill
- pd-morning-briefSkill
- pd-pipeline-reviewSkill
- pd-playbook-minerSkill
- pd-premortemSkill
- pd-thread-mapSkill
- pd-win-backSkill
- pd-win-lossSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Follow pd-core rules (load pd-core if not loaded).
- Very specific: line 20
Account context: Call getAccountContext once.
- Very specific: line 42
Industry check: If an industry is chosen, load pd-industry/references/<industry>.md.
- Very specific: line 43
Access check: Run pd-access checks 1 to 4 (connector permissions, coverage, read-only fields, role fit) and save .pipedrive/access.json.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
pd-setup
Follow pd-core rules (load pd-core if not loaded).
Requires: Pipedrive Optional: none Fallback: no filesystem (claude.ai chat) -> keep context in this conversation only and say so.
Steps
- Connectors. List which integrations are live in this session by checking available tools: Pipedrive, Slack, Teams, Gmail, Outlook, Google Drive, Google Calendar. Pipedrive missing: stop and say "Connect Pipedrive in Settings > Connectors (or
claude mcp addin Claude Code), then run pd-setup again." - Account context. Call
getAccountContextonce. - Option labels. Build
field-map.jsonfrom the account context first: each custom field hasfield_name,field_code,field_type,options(id,label) andis_writable. Use the export below only as a fallback: when option fields come back with emptyoptions, or the user wants a copy in a Claude Project. Look for the user's export: Project files, a chat attachment, or.pipedrive/data_fields_options_*.csv. It is a CSV with columnsOption ID, Option name, Item type, Field name, Field type, Field API key, one row per option, single and multiple option fields only (other field types are not in it; take those fromgetAccountContext).- Found, shell available:
python3 scripts/field_options.py <export.csv> --merge .pipedrive/field-map.json --out .pipedrive/field-map.jsonafter step 4 writes the base map. Pass the duplicate-name warning from stderr to the report. - Found, no shell: read it and fill
optionsinfield-map.json(or keep in conversation). Match byField API key, never by name: names can repeat and have trailing spaces. - Not found and option labels are missing from the context: ask once, "In Pipedrive go to Settings > Data fields, click Export, choose Selectable options in fields, and upload the CSV (add it to a Claude Project so every chat has it)." Continue without it if the user skips.
- Found, shell available:
- Write cache (if filesystem available) to
.pipedrive/in the working folder:context.json: slim version only:{"fetched": "<ISO date>", "me": {"id": 0, "name": ""}, "pipelines": {"<id>": {"name": "", "stages": {"<id>": ""}}}, "stages": {"<id>": "<name>"}, "users": {"<id>": "<name>"}}account_context.json: the rawgetAccountContextresult, unchanged. Scripts read stage order, custom fields, option labels andis_writablefrom it; the slim file above lacks them.field-map.json:{"deal": {"<Field name>": {"key": "<hash>", "type": "", "options": {"<label>": <id>}}}, "person": {}, "org": {}}config.json: fromreferences/config.template.json, filled with answers from step 5.last_run.json:{}
- Ask once (one message, skip what is known):
- Industry (offer the pd-industry list, or "generic").
- Your role: rep, manager, owner, ops, CS.
- Where team posts go, if Slack/Teams is live (channel name or "chat only").
- Stale threshold in days (default 14).
- "Do you manage existing customers in Pipedrive (account management, renewals, upsell)?" On yes, map
accountsinconfig.jsonfrom the cached fields: account manager, tier, revenue, renewal date, health score (optional write-back), person role. Followpd-account-health/references/setup.md, show the mapping, confirm. Missing fields go to the manual steps in step 8.
- Industry check. If an industry is chosen, load
pd-industry/references/<industry>.md. Compare its "Custom fields worth adding" and pipeline template with the real account. List what is missing as manual steps (the connector cannot create fields or stages). - Access check. Run pd-access checks 1 to 4 (connector permissions, coverage, read-only fields, role fit) and save
.pipedrive/access.json. If the contexterrorsshow missing permissions,meorusersstay empty incontext.json; pd-access fillsmefrom the user's own deals. - Report in this format:
Setup done. Cache: .pipedrive/ (fields: 34, pipelines: 2, users: 6)
Option fields: labels from Pipedrive (34) | missing, upload "Selectable options in fields" export
Access: full | partial, 4 of 6 owners visible | connector missing users:read (run pd-access for fixes)
Connectors: Pipedrive live | Slack live | Gmail missing | Calendar missing
Ready: pd-morning-brief, pd-follow-up, pd-pipeline-review, ...
Fallback: pd-follow-up -> drafts in chat (connect Gmail for drafts)
Manual Pipedrive steps for <industry>:
1. Add deal field "Trial end date" (date)
2. ...
Try: "brief me for today"Doctor mode
User says "doctor", "something broke" or a skill hit a field/stage error: re-run steps 1 to 4 (overwrite cache), keep config.json, report only what changed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

