sandbox-self-test
Skill by TomGranot
Sandbox Self-Test verifies the HubSpot toolkit against a disposable developer test account or sandbox you provide. It seeds fixtures, runs the skills, and writes a graded report before tearing everything down. It is for contributors, admins, and maintainers.
Install sandbox-self-test
Built from the published package, never by AI.
git clone --depth 1 https://github.com/TomGranot/hubspot-admin-skills /tmp/hubspot-admin-skills && mkdir -p ~/.claude/skills && cp -r /tmp/hubspot-admin-skills/skills/sandbox-self-test ~/.claude/skills/sandbox-self-testRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/TomGranot/hubspot-admin-skills /tmp/hubspot-admin-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hubspot-admin-skills/skills/sandbox-self-test ~/.gemini/antigravity-cli/skills/sandbox-self-testAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Sandbox Self-Test verifies the whole HubSpot toolkit against a disposable developer test account or sandbox that the user provides. It seeds synthetic fixtures, runs every scripted skill's read path, exercises end-to-end and API round-trip cases, and produces a graded report. Fixtures are marked with reserved-TLD email addresses and SELFTEST name prefixes, and teardown removes them afterward.
The suite refuses to run unless the account type is DEVELOPER_TEST or SANDBOX. It reads only a separate HUBSPOT_SANDBOX_ACCESS_TOKEN variable, so a production token cannot be used by accident. It is aimed at contributors before a pull request, admins before trusting the toolkit with production, and maintainers after a HubSpot API change. Skipped cases are reported with a reason, so the report does not overstate coverage.
Written from the project's SKILL.md and checked against it.
What it can do
- Preflight gateChecks the account type and probes scopes, and prints GO or REFUSED before any work starts.
- Fixture seedingCreates three companies and nine contacts, each with one defect for a testable skill.
- Before-smoke casesRuns every scripted skill's before.py as a read-only subprocess and checks for a clean exit.
- End-to-end casesRuns contact deletion, waterfall enrichment with a mock provider, and workflows-as-code export.
- API round-trip casesCreates, fetches, verifies, and deletes a dynamic list and a v4 workflow.
- Graded reportWrites a dated report with PASS, FAIL, or SKIP for each case.
- TeardownDeletes marker-matched objects after exporting a CSV audit trail and typed TEARDOWN confirmation.
What you need
- HubSpot developer test account or standard sandbox
- Service key or legacy private app inside the test account with listed scopes
- HUBSPOT_SANDBOX_ACCESS_TOKEN set in .env
- Python 3.10+ with uv
Try asking
- Run the sandbox self-test preflight against my HubSpot developer test account.
- Run the sandbox self-test suite and show me the PASS, FAIL, and SKIP results.
- Tear down the selftest fixtures in my sandbox after the report is reviewed.
Good to know
- Developer test accounts expire after 90 days without API activity.
- Bounce, unsubscribe, and marketing status cases cannot be simulated and are reported as SKIP.
- The delete-no-email-contacts case deletes all no-email contacts in the portal, not only fixtures.
- The v4 workflow round-trip reports SKIP on a 403 response in a standard sandbox.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/sandbox-self-test/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sandbox-self-test
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
sandbox-self-test: common questions
Can this suite run against a production HubSpot account?
No. Every script checks the account type through the account details endpoint and refuses unless it is DEVELOPER_TEST or SANDBOX, with no override flag.
Which token does the suite use?
It reads only HUBSPOT_SANDBOX_ACCESS_TOKEN, so a production HUBSPOT_ACCESS_TOKEN in the same .env file is ignored.
Does the enrichment case spend credits?
No. The suite forces ENRICHMENT_PROVIDER=mock, which returns deterministic fake data with no network calls.
How do I install sandbox-self-test?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sandbox-self-test free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is sandbox-self-test safe to use?
It scores 58 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sandbox-self-test?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
