Install
$ agentstack add skill-affitor-agent-skills-test-integration ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Test Integration
Verify your Affitor tracking pipeline works end-to-end using the CLI.
Test Individual Steps
# Test click tracking
npx affitor test click
# Test signup/lead tracking
npx affitor test lead
# Test sale/payment tracking
npx affitor test sale
Each command sends a test event to the Affitor API and confirms it was received and processed correctly.
What Each Test Verifies
test click
- Sends a simulated affiliate click event
- Confirms the tracking API accepts and stores the click
- Verifies your program ID and API key are valid
test lead
- Sends a test signup/lead event with a mock customer
- Confirms attribution linking works (click → signup)
- Verifies the lead API endpoint is reachable
test sale
- Sends a test sale event with a mock transaction
- Confirms revenue attribution works (customer → affiliate)
- Verifies amount and currency handling
Check Overall Status
npx affitor status
Shows:
- Program configuration
- Stripe connection status (if using Stripe auto-setup)
- Recent event counts (last 24 hours)
Troubleshooting
| Issue | Fix | |---|---| | "No config found" | Run npx affitor init first | | "Invalid API key" | Re-run npx affitor init to get a new key | | "Click test passed but lead failed" | Check that customer_key matches between signup and sale calls | | "Sale test shows $0 commission" | Verify commission rate is set in your program settings |
Debug Mode
For browser-side tracking issues, enable debug mode to see events in the browser console:
Or with the SDK:
const affitor = await loadAffitor('YOUR_PROGRAM_ID', { debug: true });
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Affitor
- Source: Affitor/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.