setup
Skill0 starsChanged 3 months agoMITView on GitHub
Install and connect the Lightspeed X reporting tools for this user. Use when the Lightspeed tools return a credential or connection error, when the user says Lightspeed is not connected or not working, when they ask how to connect Lightspeed or where to put their token, when they ask you to set up or install Lightspeed, or when they run this skill directly.
- Reads credentials
192 other projects use a version of this.
Adopted by
Most recently taken up by
- kachofugetsu09/akashic-agenttheir own version, first seen Nov 30, 2026
- siberiacancode/agent-skillstheir own version, first seen Nov 29, 2026
- JCodesMore/youtube-for-ai-agentstheir own version, first seen Nov 29, 2026
- microsoft/Employee-Self-Service-Agent-Developer-Kittheir own version, first seen Nov 29, 2026
- cubetes/coaichtheir own version, first seen Nov 29, 2026
- blotato/contentskillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use add-discord, add-slack and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
- +10 more from microsoft
Other versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 192
- anthropics/knowledge-work-plugins★ 37ksame name
- garrytan/gbrain★ 34ksame name
- nanocoai/nanoclaw★ 31ksame name
- gavrielc/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.4ksame name
- pytorch/executorch★ 5.2ksame name
- aws/agent-toolkit-for-aws★ 3.6ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
182 more not listed
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.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 11 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 168 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
If you catch yourself writing "run this command," stop and run it instead.
- Distinctive: line 18
Never ask the user to paste their token into the chat: Not into a prompt, not to confirm it, not to check it.
- Distinctive: line 24
If they paste a token in chat anyway, tell them plainly that it is now in the transcript, that they should revoke it in Lightspeed and …
- Distinctive: line 38
Never guess the credential file path.
- Distinctive: line 43
Only needed if the tools are missing entirely.
- Very specific: line 54
If claude is not found, Claude Code is not on PATH for the shell.
- Distinctive: line 63
If Step 1 gave you a path, use it.
- Very specific: line 68
Ask the user for their store subdomain: the part of their Lightspeed URL before .retail.lightspeed.app.
- Distinctive: line 71
Create the directory and write the file with a placeholder, never a real token:
- Distinctive: line 104
If they cannot find Personal Tokens under Setup, they are not an admin on the Lightspeed account, or it is not on a Plus plan.
- Distinctive: line 108
Wait for them to confirm they saved it.
- Distinctive: line 112
Verify by calling the API, not by reading the file:
- Very specific: line 128
If the credential file was created during this session, the MCP server has not read it yet.
- Very specific: line 133
After the restart, call lightspeed_setup_status, then run one real query such as yesterday's revenue and show them the table.
- Distinctive: line 143
Only if the user asks for it.
- Very specific: line 149
Add LIGHTSPEED_WRITE_ACCOUNTS=<account key> to the same credentials file (comma-separated keys, or *).
“Common” is measured: kept by at least 6 in 10 of the 168 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Connect Lightspeed X
You do the work. Do not hand the user a list of commands to run.
You have a Bash tool. Every install step here is a shell command you can run yourself. The only thing the user does is copy their token out of Lightspeed and paste it into a text file, because a token must never enter the chat.
If you catch yourself writing "run this command," stop and run it instead.
The one rule about the token
Never ask the user to paste their token into the chat. Not into a prompt, not to confirm it, not to check it. It would land in the transcript.
They paste it into a file in Notepad. You never see it. You verify by calling the API, not by reading the value.
If they paste a token in chat anyway, tell them plainly that it is now in the transcript, that they should revoke it in Lightspeed and create a new one, then continue with the new one.
Step 1: check what state you are in
Call lightspeed_setup_status.
| Result | Go to |
| Reports connected | Step 5. Just prove it works. |
| Reports not connected, gives a path | Step 3, using that path |
| Tool does not exist at all | Step 2. The plugin is not installed. |
Never guess the credential file path. The tool reports the real one, and it differs by platform and by how the server was installed.
Step 2: install the plugin, yourself
Only needed if the tools are missing entirely. Run these with Bash. They are shell commands, not slash commands, so you can execute them:
claude plugin marketplace add genvjacobc/lightspeed-x-mcp
claude plugin install lightspeed-x@lightspeed-x-mcp --scope userExpected: "Successfully added marketplace" then "Successfully installed plugin." "already installed" or "already added" is fine, keep going.
If claude is not found, Claude Code is not on PATH for the shell. On Windows
try "$LOCALAPPDATA/Programs/claude/claude.exe", or tell the user to update
Claude Code.
A shell install does not load into the running session. Continue to Step 3 and have them restart at the end; do not stop here.
Step 3: work out the credential path and create the file
If Step 1 gave you a path, use it. Otherwise the plugin data directory is:
- Windows:
%USERPROFILE%\.claude\plugins\data\lightspeed-x-lightspeed-x-mcp\credentials.env - macOS / Linux:
~/.claude/plugins/data/lightspeed-x-lightspeed-x-mcp/credentials.env
Ask the user for their store subdomain: the part of their Lightspeed URL before
.retail.lightspeed.app. That is not a secret, so it is fine in chat.
Create the directory and write the file with a placeholder, never a real token:
mkdir -p "$HOME/.claude/plugins/data/lightspeed-x-lightspeed-x-mcp"
cat > "$HOME/.claude/plugins/data/lightspeed-x-lightspeed-x-mcp/credentials.env" <<'ENVEOF'
LIGHTSPEED_DOMAIN=THEIR_SUBDOMAIN
LIGHTSPEED_TOKEN=PASTE_YOUR_TOKEN_HERE
ENVEOFSubstitute the real subdomain. Leave the token as PASTE_YOUR_TOKEN_HERE.
The file survives plugin updates but is deleted by /plugin uninstall.
Step 4: have them paste the token into the file
Open both the token page and the file, so all they do is copy and paste:
start "" "https://THEIR_SUBDOMAIN.retail.lightspeed.app/setup/personal_tokens"
notepad "$USERPROFILE\.claude\plugins\data\lightspeed-x-lightspeed-x-mcp\credentials.env"On macOS use open and open -e instead.
Then tell them, in plain language:
In the Lightspeed tab, click Add Personal Token, name it "Claude", and copy the token. It is shown only once. In the Notepad window, replace
PASTE_YOUR_TOKEN_HEREwith it, keeping theLIGHTSPEED_TOKEN=part, then save and close. Do not paste it here.
If they cannot find Personal Tokens under Setup, they are not an admin on the Lightspeed account, or it is not on a Plus plan. Both are Lightspeed restrictions this plugin cannot work around; an admin has to create the token for them.
Wait for them to confirm they saved it.
Step 5: verify, then prove it
Verify by calling the API, not by reading the file:
node "$HOME/.claude/plugins/cache/lightspeed-x-mcp/lightspeed-x/"*/dist/index.js --doctorSet LIGHTSPEED_ENV_FILE to the credential path if the doctor does not find it.
Expect a line like 1 of 1 account(s) reachable.
| Doctor says | Cause and fix |
| rejected (401) | Either the token is wrong or the subdomain is wrong. Lightspeed answers 401 for a store that does not exist, so a domain typo looks identical to a bad token. Check the subdomain first, since you can see it and the token you cannot. |
| forbidden (403) | Token is valid but its user lacks API access. |
| No accounts configured | File is empty, saved elsewhere, or still holds the placeholder. Confirm they saved in Notepad. |
| cannot resolve hostname | Subdomain typo, or the network blocks the host. |
If the credential file was created during this session, the MCP server has not
read it yet. Tell them to close and reopen Claude Code, or run
/reload-plugins. This is one of the few things they must do themselves,
because you cannot restart their session.
After the restart, call lightspeed_setup_status, then run one real query such
as yesterday's revenue and show them the table. A generic "you are all set" is
not proof; their own store's numbers are.
Close by telling them what to ask for in their own words rather than tool names. For example "what sold best yesterday", "revenue by store last week", "what needs reordering".
Optional: turning on writes
Only if the user asks for it. The plugin is read-only until they opt in, and a fresh setup should stay that way.
- Explain the model first: every change is previewed, and nothing is sent
until they approve a
lightspeed_apply_writecall, which Claude Code asks about every single time. - Add
LIGHTSPEED_WRITE_ACCOUNTS=<account key>to the same credentials file (comma-separated keys, or*). For sales, registers, store credit, gift cards and loyalty they also needLIGHTSPEED_WRITE_HIGH_RISK=true; do not add that unless they ask for those specifically. - Their token must belong to a Lightspeed user allowed to make those changes in the back office. The API inherits that user's permissions.
- Restart the session, then run the doctor: it prints
writes: enabled for [...].lightspeed_write_statusshows the same from inside a session.
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.

