Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/intellegix/intellegix-code-agent-toolkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/intellegix/intellegix-code-agent-toolkit/ensure-space)<a href="https://agentmods.dev/commands/intellegix/intellegix-code-agent-toolkit/ensure-space"><img src="https://agentmods.dev/badge/commands/intellegix/intellegix-code-agent-toolkit/ensure-space/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/intellegix/intellegix-code-agent-toolkit/ensure-space"><img src="https://agentmods.dev/badge/commands/intellegix/intellegix-code-agent-toolkit/ensure-space.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00373 |
| Opus 5.5 | $0.00000 | $0.00149 |
| Sonnet 5.5 | $0.00000 | $0.00075 |
| Haiku 4.5 | $0.00000 | $0.00037 |
Grade A, and why
ensure-space scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/ensure-space — Add Current Perplexity Thread to Project Space
Ensure the current Perplexity thread is filed into a Space named after the active project. Creates the Space if it doesn't exist.
Prerequisites: Perplexity Max subscription. Browser-bridge MCP server running with Chrome extension connected. Active tab must be on a Perplexity thread page.
Input
$ARGUMENTS = Optional space name override. If empty, derives from current working directory.
Workflow
Step 1: Determine Space Name
- If
$ARGUMENTSis provided and non-empty, use it as the space name - Otherwise, derive from the current working directory: use
path.basename(process.cwd())(e.g., "my-project")
Step 2: Add to Space
- Call
browser_add_to_spacewith:spaceName: the determined space namecreateIfMissing: true
Step 3: Report Result
Based on the response:
action: 'added'→ Report: "Thread added to Space: {spaceName}"action: 'created'→ Report: "Created new Space '{spaceName}' and added thread"action: 'no_match'withcreateIfMissingfailure → Show available spaces, ask user to pick one or confirm creation- Error (
MENU_NOT_FOUND,ADD_TO_SPACE_NOT_FOUND,MODAL_NOT_FOUND) → Report the error and suggest the user check they're on a Perplexity thread page
Error Handling
- If no browser tab is active or not on Perplexity, report clearly
- Do NOT call
browser_close_session— this command operates on an existing tab, not a full session
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 37 lines · 0 tokens per session scan A d8061fb71cde
ensure-space is a command published in the GitHub repository intellegix/intellegix-code-agent-toolkit (57 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 373 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ensure-space compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ensure-spaceintellegix/intellegix-code-agent-toolkit | Command | 57 | 7d ago | MIT | A | 0 | Claude Code |
| cost-optimizewshobson/agents | Command | 43k | 6d ago | MIT | A | 26 | Claude Code |
| deps-auditwshobson/agents | Command | 43k | 6d ago | MIT | A | 23 | Claude Code |
| refactor-cleanwshobson/agents | Command | 43k | 6d ago | MIT | A | 26 | Claude Code |
| export-closedloop-learningsclosedloop-ai/claude-plugins | Command | 122 | 3d ago | Apache-2.0 | A | 13 | Claude Code |
| research-verifydrobins25/craft | Command | 74 | today | MIT | A | 28 | Claude Code |
| custom-briefhoangsonww/AI-News-Briefing | Command | 45 | 7d ago | MIT | A | 26 | Claude Code |