Clickalong Agent Skills
Open Agent Skills for Clickalong customers:
| Skill | Job |
|---|---|
add-clickalong-identifiers |
Make guided tours reliable across accounts and UI refactors with durable data-testid targets, and make the app legible to the AI assist guide with real accessible names, navigation opt-ins, and privacy opt-outs. |
write-clickalong-docs |
Research your product's user-facing features in its own codebase and write leak-safe, tour-ready step-by-step help docs for your Clickalong workspace. |
generate-clickalong-tours |
Author interactive guided tours from inside your codebase and publish them to your workspace through the authenticated Agent API — no Chrome recorder needed. |
Install
Install a skill into the current project and choose your coding agent when prompted:
npx skills add clickalong/clickalong-agent-skills --skill add-clickalong-identifiers
npx skills add clickalong/clickalong-agent-skills --skill write-clickalong-docs
npx skills add clickalong/clickalong-agent-skills --skill generate-clickalong-tours
Install globally for every supported agent by adding --agent '*' --global --yes.
The open Agent Skills format works with Codex, Claude Code, Cursor, GitHub Copilot, and other compatible coding agents. The installer is the open-source skills CLI.
add-clickalong-identifiers
Ask your agent:
Use
$add-clickalong-identifiersto add reliable tour targets for our onboarding flow.
Or provide an existing Clickalong flow/recorder export:
Use
$add-clickalong-identifiersto replace the fragile or account-specific targets in this flow and verify every target in the production build.
The skill makes the agent:
- Trace a concrete journey to the actual interactive DOM nodes.
- Separate fixed application controls from customer-specific records.
- Add stable, unique, production-preserved
data-testidattributes. - Detect duplicates, interpolation, Shopify/record IDs, prop-forwarding failures, responsive copies, and stripped production attributes.
- Verify uniqueness, visibility, and behavior in the rendered workflow.
- Apply the AI-assist semantic contract: accessible names that equal visible labels, unique names per view,
data-clickalong-action="navigation"opt-ins on reversible custom navigation,data-clickalong-privateexclusions for sensitive regions, and truthfulautocompleteon credential fields.
Target contract
New tour targets use the familiar data-testid attribute with a Clickalong-namespaced, semantic value:
<button data-testid="clickalong-settings-invite-member">
Invite member
</button>
[data-testid="clickalong-settings-invite-member"]
Values remain identical across customers and releases. They never include database records, Shopify GIDs, array indexes, translated copy, timestamps, hashes, or generated framework values. Repeated customer-data rows are not made “portable” by appending an ID; tours target a stable picker/container or ask the visitor to choose their own item.
The bundled zero-dependency scanner validates literal clickalong-* data-testid declarations. Runtime verification remains mandatory because static analysis cannot prove component multiplicity, visibility, or production attribute retention.
Recorded tours are one of two targeting systems. Clickalong's AI assist guide never reads data-testid — it resolves controls by accessible name, role, and safety classification, and it fails closed on missing or ambiguous names. The skill therefore also carries the semantic contract (accessible names, name uniqueness, navigation opt-ins, privacy opt-outs, autocomplete fencing) with a second zero-dependency scanner that errors on misused data-clickalong-action markup and warns on placeholder-named fields and password inputs without autocomplete.
write-clickalong-docs
Ask your agent:
Use
$write-clickalong-docsto write help guides for our main features and get them into our Clickalong workspace.
The skill makes the agent:
- Propose a topic list from your product's user-facing surface and get it approved.
- Research each topic from the UI only — exact labels, flows, and on-screen limits — never from secrets, infrastructure, or admin code.
- Draft reviewable markdown into a local
clickalong-docs/bundle in Clickalong's help-center grammar, with every task written as tour-ready numbered steps: one screen action per step, the exact control in bold, the observable result folded in, no nesting, at most 25 steps. - Run two bundled zero-dependency gates: a safety scanner that blocks credential shapes, URLs with embedded credentials, and secret-valued assignments (warning on internal endpoints, local paths, admin URLs, non-example emails, and high-entropy strings), and a step audit that fails task docs without numbered steps and flags compound, vague, unlabeled, nested, or over-long steps.
- Hand the finished bundle to you for review, then help publish it through the Clickalong dashboard, verify the AI assistant answers task questions as numbered steps from the new docs, and list which docs to record as guided tours next.
Steps matter beyond reading: Clickalong's assistant quotes them in chat, live assistance falls back from a recorded tour to an ordered public document, and operators record tours by following the doc as the script — so this skill pairs naturally with add-clickalong-identifiers for durable tour targets.
The skill runs inside your proprietary codebase, so its security boundary is explicit: the agent never opens secret-bearing files, every example value is fake, nothing publishes without your approval, and the safety scanner is a blocking gate — its error reports are redacted so even the findings can't leak the secret they found.
generate-clickalong-tours
Ask your agent:
Use
$generate-clickalong-toursto build guided tours for our core flows and publish them to our Clickalong workspace.
One-time setup: generate a workspace token in Clickalong → Settings → Coding agent API token and keep it outside the repository (a file like ~/.config/clickalong/agent-token, or your secret manager). The agent passes it per-invocation to the skill's own scripts only — never exported into the general shell, where any build or package hook could read it. The token is the security boundary — it resolves server-side to exactly one workspace, so nothing the agent sends can land in another tenant, and revoking it in Settings kills it instantly, including requests already in flight.
The skill makes the agent:
- Verify the token, fetch the workspace it belongs to, and get your explicit confirmation of the workspace name and id — every write is pinned to that id with
--apply --expect-workspaceand aborts on any mismatch. - Propose a tour list from your product's core jobs and get it approved.
- Make every step target production-stable (pairing with
add-clickalong-identifiers), addingdata-testidhooks to your code where none exist. - Draft one reviewable JSON file per tour into a local
clickalong-tours/bundle — portable start paths, explicit manual-advance steps, copy that quotes your real on-screen labels. - Run the bundled zero-dependency validator (blocking, and re-run inside the push itself): API shape caps, non-portable or record-shaped paths and selectors, secret-shaped copy — with findings that never quote the offending value — plus duplicate names and ids.
- After your approval, push through the Agent API (
/api/agent/tours) with a token-redacting, origin-allowlisted script: creates use locally minted idempotency ids, updates send the last-pushed version so a concurrent dashboard edit surfaces as a conflict, and ids/versions are written back atomically — then hand you the dashboard link for final review.
Tours published this way are offered by the AI assistant within minutes and play through the same widget runtime as recorded tours; they carry no recorded screenshots, so a missing target falls back to AI tutor guidance instead of the recorded image (re-record high-traffic tours in replace mode to add visuals). Tours recorded with the Chrome extension — and tours predating the API — are refused for update and delete server-side.
License
MIT
No comments yet
Be the first to share your take.