project-switch

project-switch is a skill for Claude Code from XuanRanL/loamwright-SEO-Skill. It costs 36 tokens per session (388 once invoked), scanned A, original, Apache-2.0.

A project selector that changes which website project is active for later commands.

In plain words
What is it for?
It switches between initialized projects and shows basic details such as the domain, industry, page count, and freshness.
Why use it?
It prevents work from being applied to the wrong client project by making the current project explicit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the xuanran-seo-blog-writer plugin — 68 skills, 34 agents, 4 hooks shipped together

Good fit It switches between initialized projects and shows basic details such as the domain, industry, page count, and freshness.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xuanranl/loamwright-seo-skill/project-switch
Install

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.

Any agent
npx skills add XuanRanL/loamwright-SEO-Skill --skill project-switch
Clone the repo
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill

Made for: Claude Code.

Or install xuanran-seo-blog-writer, the plugin that ships this one along with the rest of its 68 skills, 34 agents, 4 hooks.

Wrote 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.

agentmods badge for project-switch

README.md
[![agentmods](https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/project-switch/github.svg)](https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/project-switch)
Your own site
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/project-switch"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/project-switch/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.

agentmods 80×15 button for project-switch

Your own site · 80×15
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/project-switch"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/project-switch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 15
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00388
Opus 5 $0.00018 $0.00194
Sonnet 5 $0.00007 $0.00078
Haiku 4.5 $0.00004 $0.00039

Measured 5d ago against content hash 8cf21e84c46a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

project-switch 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 5d 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.

subskills/init/project-switch/SKILL.md · 49 lines

What it actually says

Project Switch

Single-line operation: change which project is active.

Workflow

1. Verify projects/<slug>/business-context.json exists
2. If freshness_state == "expired": warn user (suggest --refresh)
3. Write slug via scripts._core.active_project.set_active_project(slug)
   (writes ~/.xuanran-seo/active-project; emits a stderr warning if
    XS_ACTIVE_PROJECT is set — see "Env-pinned sessions" below)
4. Show summary of newly active project:
   - Domain
   - Industry
   - Last refresh date
   - Project age
python -c "from scripts._core import active_project as a; a.set_active_project('<slug>')"

Env-pinned sessions (parallel multi-session)

If this session was launched with XS_ACTIVE_PROJECT set (via bin/launch-session.*), /switch does NOT change the project for the current session — the env var is authoritative. The file write only affects future, non-env-pinned sessions. set_active_project prints a warning in this case so the behavior is never silent. To change a pinned session's project, relaunch it with a different XS_ACTIVE_PROJECT.

CLI

/switch example-com

Side effects

  • All subsequent commands inherit new business-context
  • workspace/{task_id}/ tasks under OLD project don't move; only active pointer changes

See also

  • subskills/init/project-list/SKILL.md
  • subskills/init/website-project-init/SKILL.md
Changes

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.

  1. 5d ago First seen · 49 lines · 36 tokens per session scan A 8cf21e84c46a

Subscribe to this mod's changes

project-switch is a skill published in the GitHub repository XuanRanL/loamwright-SEO-Skill (47 stars, last pushed 22d ago), licensed Apache-2.0. It adds 36 tokens to every session and 388 once invoked, about $0.0002 per session on Opus 5. 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-09-03.

Related

Other skills, from other repositories

import-sop

Import agency Standard Operating Procedures — approval workflows, campaign launch checklists, escalation procedures, QA steps — and structure them into numbered, role-assigned steps with human-approval gates marked. SOPs save at the agency level so they apply across every client brand, not per-brand. Triggers on…

indranilbanerjee/digital-marketing-pro · 132 tokens

client-onboarding

Generate a complete onboarding package for a new marketing client — kickoff meeting agenda, 20-30 question discovery questionnaire, stakeholder map with RACI matrix, platform-by-platform access checklist, 30-60-90 day milestone plan, communication cadence, escalation protocol, welcome email template, internal team…

indranilbanerjee/digital-marketing-pro · 151 tokens

gh-issues

Use when creating, triaging, or commenting on GitHub issues for the Kilo VS Code extension or JetBrains plugin via gh. Covers issue templates, project board assignment, title conventions, and required gh scopes.

Kilo-Org/kilocode · 50 tokens

continuous-improvement-loop

Run Part 12 of the engagement methodology — the continuous improvement loop that aggregates quarterly-review, customer-feedback, competitive, and operating signals into a Quarterly Product & Offering Improvement Brief for business leadership, plus fast 1-3 page ad-hoc briefs when a significant signal lands…

indranilbanerjee/digital-marketing-pro · 148 tokens

c2pa-metadata

Embed a C2PA provenance manifest into an AI-generated marketing asset (PNG, JPG, WebP, GIF, TIFF, MP4, MOV, WebM, MP3, WAV, PDF) via scripts/embed-c2pa.py — produces a signed copy of the file carrying IPTC digital-source-type AI claims, an optional c2pa.ai-disclosure assertion for EU AI Act Article 50 (applicable 2…

indranilbanerjee/digital-marketing-pro · 183 tokens

competitor-pages

Build competitor comparison and alternatives pages — X-vs-Y head-to-heads, alternatives-to-X lists, category roundups, and feature-matrix pages — delivering a 1,500+ word page template, comparison table, JSON-LD schema via schema-generator.py, keyword and title-tag targeting, an internal-linking plan, and…

indranilbanerjee/digital-marketing-pro · 142 tokens