Create, audit and fix URL redirects on a connected CMS, approval-gated.

MITAuto-check passedMarketing & SEO

Install Redirect Manager

skills CLI
$ npx skills add indranilbanerjee/digital-marketing-pro --skill redirect-manager -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install indranilbanerjee/digital-marketing-pro redirect-manager --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/indranilbanerjee/digital-marketing-pro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/redirect-manager .claude/skills/redirect-manager && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
redirect-manager
GitHub stars
862
Used in
1 other repo
Token cost
~2.5k tokens
SKILL.md length
1,326 words
Files
1
Skills in repo
162
Repo updated
First seen
Licence
MIT

At a glance

Create, audit and fix URL redirects on a connected CMS, approval-gated.

  • Works in 5 steps: Present the full preview — every… → The user must type yes (or an equivalent… → Never proceed on ambiguous input. Never… → …
  • Marketing & SEO work in your project
  • SKILL.md covers Purpose, Execution gate (MANDATORY —…, Input Required and Process, plus 2 more sections
  • Calls python

What it does

Redirect Manager is an agent skill from indranilbanerjee/digital-marketing-pro. Create, audit and fix URL redirects on a connected CMS, approval-gated. "set up a 301 redirect"

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Marketing & SEO. The repository describes itself as: An open-source AI marketing operating system for strategy, SEO, AEO/GEO, paid media, content, CRM, and analytics - grounded in brand context, human approval, and verifiable… The licence is MIT.

When your agent uses it

  • Marketing & SEO work in your project

Example prompts

  • “set up a 301 redirect”
  • “/redirect-manager”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Present the full preview — every redirect to be created/updated/removed with current-vs-proposed state and site-wide blast radius — as an…
  2. The user must type yes (or an equivalent explicit approval). ANY other input — ambiguous, implied, partial, or absent approval — cancels…
  3. Never proceed on ambiguous input. Never auto-retry a failed execution; a failure needs human review before any re-run.
  4. Only after the user types yes, record it: python "${CLAUDE_PLUGIN_ROOT}/scripts/approval-manager.py" --brand {slug} --action…
  5. Execute. A write sent through connector_executor.py needs --approval-id and fires only against a matching, unused, unexpired record (see…

What it can do on your machine

Read from SKILL.md and the folder at commit 9e949f3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Redirect Manager loads about 2.5k tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 1,326 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from indranilbanerjee/digital-marketing-pro at commit 9e949f3, republished under its MIT licence (© indranilbanerjee). 1,326 words, ~2,510 tokens.

Download SKILL.mdSave it as .claude/skills/redirect-manager/SKILL.md (or your agent's skills folder).
name
redirect-manager
description
Create, audit and fix URL redirects on a connected CMS, approval-gated. "set up a 301 redirect"
disable-model-invocation
false
argument-hint
[URL or action]

/digital-marketing-pro:redirect-manager

Script location. If your host does not set ${CLAUDE_PLUGIN_ROOT}, the scripts are in this plugin's scripts/ folder, next to skills/.

Purpose

Manage URL redirects across the website. Create new 301/302 redirects, audit existing redirects for chains and loops, fix broken redirect paths, and deploy changes via connected CMS MCP. Covers site migrations, URL restructuring, and ongoing redirect maintenance. Redirect mismanagement is one of the most common causes of SEO traffic loss — chains dilute link equity, loops create crawl errors, and broken redirects return 404s for previously indexed URLs. This command provides systematic redirect lifecycle management from creation through auditing and repair.

Execution gate (MANDATORY — cannot be skipped)

  1. Present the full preview — every redirect to be created/updated/removed with current-vs-proposed state and site-wide blast radius — as an Execution Summary before touching any live rule.
  2. The user must type yes (or an equivalent explicit approval). ANY other input — ambiguous, implied, partial, or absent approval — cancels the run.
  3. Never proceed on ambiguous input. Never auto-retry a failed execution; a failure needs human review before any re-run.
  4. Only after the user types yes, record it: python "${CLAUDE_PLUGIN_ROOT}/scripts/approval-manager.py" --brand {slug} --action create-approval --data '{"type":"redirect-manager","platform":"<platform>","content_summary":"<one line from the Execution Summary>","risk_level":"<tier>"}', then python "${CLAUDE_PLUGIN_ROOT}/scripts/approval-manager.py" --brand {slug} --action approve --id {approval_id}. If either command errors, stop and report the error; never work around it with another tool. The record proves the approval step ran for this action; it cannot prove who typed yes.
  5. Execute. A write sent through connector_executor.py needs --approval-id and fires only against a matching, unused, unexpired record (see /digital-marketing-pro:execute-action). A write through a connected MCP server tool is outside that code check: it relies on this typed yes and on your host's permission prompt. Afterwards run python "${CLAUDE_PLUGIN_ROOT}/scripts/approval-manager.py" --brand {slug} --action mark-executed --id {approval_id} --data '{"execution_result":"success"}' (or failure).

Input Required

The user must provide (or will be prompted for):

  • Redirect action: The operation to perform — create (set up new redirects), audit (scan all existing redirects for issues), fix (resolve chains, loops, and broken targets found during audit), or bulk-import (import a redirect map from CSV or Google Sheet for migrations). Multiple actions can be chained (e.g., audit then fix)
  • Source URL(s): For create and bulk-import — the URL(s) that should redirect. Can be exact URLs, URL patterns with wildcards (e.g., /old-blog/* to /blog/*), or regex patterns for complex matching. For audit and fix, source URLs are discovered automatically from the CMS
  • Target URL(s): For create and bulk-import — the destination URL(s) that users and search engines should be sent to. Must be live, accessible URLs returning 200 status codes. For bulk-import, provided as source-target pairs in the import file
  • Redirect type: 301 (permanent — use for permanent URL changes, domain migrations, HTTPS upgrades, and URL restructuring) or 302 (temporary — use for A/B tests, seasonal content, maintenance pages, or geo-redirects). Default is 301 if not specified
  • CMS platform: wordpress or webflow — must have the corresponding CMS MCP server connected. For WordPress, specify the redirect management method: Redirection plugin, RankMath redirects, Yoast Premium redirects, or .htaccess direct. For Webflow, the native redirect API is used

Process

  1. Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply brand voice, compliance rules for target markets (skills/context-engine/compliance-rules.md), and industry context. Also check for guidelines at ~/.claude-marketing/brands/{slug}/guidelines/_manifest.json — if present, load restrictions. Check for agency SOPs at ~/.claude-marketing/sops/. If no brand exists, ask: "Set up a brand first (/digital-marketing-pro:brand-setup)?" — or proceed with defaults.
  2. For create: validate source and target URLs: Confirm the source URL exists or was previously indexed (check GSC for historical data), verify the target URL is live and returns a 200 status code, check for any existing redirect already set for the source URL to avoid duplicates, and check whether the proposed redirect would create a chain (source redirects to an intermediate URL that itself redirects elsewhere). For bulk-import, validate every source-target pair in the import file and flag any issues before proceeding.
  3. For audit: crawl all existing redirects: Query the CMS API to retrieve every configured redirect rule. For each redirect, test the full redirect path by following it to its final destination. Detect chains (more than 1 hop — e.g., A redirects to B redirects to C), loops (A redirects to B redirects to A, or longer circular paths), redirects pointing to 4xx or 5xx error pages, redirect-to-redirect patterns that waste crawl budget, mixed protocol redirects (HTTP to HTTPS to HTTP), and redirects with excessive query parameter handling.
  4. For fix: resolve detected issues: For chains — update the first redirect to point directly to the final destination URL, eliminating intermediate hops. For loops — break the cycle by identifying the correct final destination and updating or removing the looping rule. For broken targets — identify the correct live destination (check for URL changes, archived content, or replacement pages) and update the redirect, or flag for manual review if no clear target exists. For duplicates — remove redundant rules, keeping the most recently created or most specific match.
  5. Create approval gate: Present all proposed redirect changes with current state and proposed state — new redirects to be created (source, target, type), chain fixes (current path vs. simplified path with hop reduction count), loop resolutions (broken cycle with new target), and broken target updates (old dead target vs. new live target). Assess risk: medium for individual redirect creation or small fixes (under 10 changes), high for bulk imports, migration-scale changes (over 10 redirects), or any deletion of existing redirect rules.
  6. Execute via CMS MCP: On approval, deploy redirect changes through the connected CMS MCP. For WordPress: create or update rules via the Redirection plugin REST API (preferred for logging and monitoring), RankMath redirect module, Yoast Premium redirect manager, or direct .htaccess modification (last resort, with backup). For Webflow: use the native 301 redirect API with bulk support for migrations. Handle CMS-specific constraints — Webflow's 301-only limitation, WordPress plugin-specific rule formats, and pattern-matching syntax differences.
  7. Verify post-deployment: Test every created or modified redirect by sending HTTP requests to the source URLs and confirming the response code (301 or 302) and final destination match the specification. For chain fixes, verify the redirect now resolves in a single hop. For loop fixes, verify the redirect reaches a 200 page. Report any verification failures for immediate investigation.
  8. Log all changes via seo-executor.py: Record every redirect change with timestamp, action type (create, update, delete), source URL, target URL, redirect type, previous state (for updates and fixes), CMS platform and method used, verification result, and rollback instructions. Store the complete pre-change redirect state for bulk operations to enable full rollback if needed.
Show full SKILL.md (233 more words)Show less

Output

A structured redirect management report containing:

  • Redirect change confirmation: Every redirect created, updated, or removed — showing source URL, target URL, redirect type (301/302), action taken (new, chain-fixed, loop-resolved, target-updated), and before/after state for modifications
  • Audit report: Total redirects scanned, chains found (with hop count and full path), loops found (with cycle path), broken targets found (with HTTP status codes), duplicates found, and overall redirect health score as a percentage of clean single-hop redirects
  • Verification results: HTTP response testing for every deployed redirect — confirmed source URL, response code received (301/302), final destination URL reached, hop count, and pass/fail status. Any failures are highlighted with diagnostic details
  • Execution log entry: Timestamped record with full redirect change metadata, CMS API responses, pre-change state snapshot for rollback capability, approval reference, and verification results for audit trail

Agents Used

  • seo-specialist — Redirect analysis including chain detection, loop identification, and broken target diagnosis, URL validation against GSC historical data and live status checks, migration planning for bulk redirect operations, redirect type recommendations (301 vs. 302) based on use case, and link equity preservation strategy for redirect consolidation
  • execution-coordinator — CMS MCP execution for WordPress (Redirection plugin API, RankMath redirects, Yoast Premium redirects, .htaccess management) and Webflow (native redirect API with bulk support), approval workflow with risk assessment scaled to redirect volume and change type, pre-change state capture for rollback capability, HTTP verification testing, and execution logging with full audit trail

© indranilbanerjee, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/redirect-manager of indranilbanerjee/digital-marketing-pro.

Open the folder on GitHubat commit 9e949f3

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in indranilbanerjee/digital-marketing-pro, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Redirect Manager next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Redirect Manager compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Redirect Manager this skillindranilbanerjee/digital-marketing-pro8621 repos~2.5kAutomated safety check: PassMIT
Geo Fundamentalswasp-lang/wasp19k9 repos~861Automated safety check: PassMIT
Ab Testingcoreyhaines31/marketingskills54k3 repos~3.1kAutomated safety check: PassMIT
Hreflang and International SEOAgriciDaniel/claude-seo19k5 repos~3.4kAutomated safety check: PassMIT
Referralscoreyhaines31/marketingskills54k2 repos~2.6kAutomated safety check: PassMIT
SEO GeoReScienceLab/opc-skills1.8k4 repos~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Geo Fundamentals

    wasp-lang/wasp

    Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).

    19k GitHub starsUsed in 9 repos~861 tokens
    Marketing & SEOAuto-check passed
  • Ab Testing

    coreyhaines31/marketingskills

    When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program.

    54k GitHub starsUsed in 3 repos~3.1k tokens
    Marketing & SEOAuto-check passed
  • Hreflang and International SEO

    AgriciDaniel/claude-seo

    Audits, validates and generates hreflang tags for multi-language and multi-region sites in HTML, HTTP headers or XML sitemaps, flagging common code and return-tag mistakes.

    19k GitHub starsUsed in 5 repos~3.4k tokens
    Marketing & SEOAuto-check passed
  • Referrals

    coreyhaines31/marketingskills

    When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy.

    54k GitHub starsUsed in 2 repos~2.6k tokens
    Marketing & SEOAuto-check passed
  • SEO Geo

    ReScienceLab/opc-skills

    SEO & GEO (Generative Engine Optimization) for websites. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub starsUsed in 4 repos~2.1k tokens
    Marketing & SEOAuto-check passed
  • Ad Creative

    LeoYeAI/openclaw-marketing-skills

    When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform.

    1k GitHub starsUsed in 8 repos~3.4k tokens
    Marketing & SEOAuto-check passed

More from indranilbanerjee/digital-marketing-pro

All 162 skills in this repo
  • Import Template

    indranilbanerjee/digital-marketing-pro

    Import a deliverable template as a reusable placeholder template per brand.

    862 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • Ab Test Plan

    indranilbanerjee/digital-marketing-pro

    Plan an A/B test by script: sample size per variant, days to run, stopping rules.

    862 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Aeo Audit

    indranilbanerjee/digital-marketing-pro

    Run a one-time AEO audit of six AI answer engines, scored per surface.

    862 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Agent Readiness Audit

    indranilbanerjee/digital-marketing-pro

    Audit agent readiness by script: AI-crawler rules, product schema, no-JS HTML, feeds.

    862 GitHub starsUsed in 1 repo~3.7k tokens
    Auto-check passed
  • Backlink Gap

    indranilbanerjee/digital-marketing-pro

    Find backlink gap domains linking to competitors, not you, scored by script.

    862 GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • C2pa Metadata

    indranilbanerjee/digital-marketing-pro

    Embed C2PA provenance in AI-generated images, video or PDF by script.

    862 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed

Categories

Questions about Redirect Manager

What does Redirect Manager do?

Create, audit and fix URL redirects on a connected CMS, approval-gated. Redirect Manager is an agent skill from indranilbanerjee/digital-marketing-pro. Create, audit and fix URL redirects on a connected CMS, approval-gated.

When should I use Redirect Manager?

Redirect Manager fits situations like: marketing & SEO work in your project.

How do I install Redirect Manager in Claude Code?

Run `npx skills add indranilbanerjee/digital-marketing-pro --skill redirect-manager -a claude-code`. Or copy the skill folder (skills/redirect-manager in indranilbanerjee/digital-marketing-pro) into .claude/skills/redirect-manager in your project. Claude Code loads it when a task matches its description.

How do I install Redirect Manager in Codex?

Run `npx skills add indranilbanerjee/digital-marketing-pro --skill redirect-manager -a codex`. Or copy the skill folder (skills/redirect-manager in indranilbanerjee/digital-marketing-pro) into .agents/skills/redirect-manager in your project. Codex loads it when a task matches its description.

Can I use Redirect Manager in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add indranilbanerjee/digital-marketing-pro --skill redirect-manager -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/redirect-manager, .gemini/skills/redirect-manager, .github/skills/redirect-manager and .opencode/skills/redirect-manager in your project.

What does Redirect Manager need to run?

Going by SKILL.md and its folder, Redirect Manager needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Redirect Manager access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Redirect Manager safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Redirect Manager use?

Redirect Manager is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Redirect Manager use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Redirect Manager?

Skills that share tags, products or a category with Redirect Manager: Geo Fundamentals (wasp-lang/wasp, 19k stars), Ab Testing (coreyhaines31/marketingskills, 54k stars), Hreflang and International SEO (AgriciDaniel/claude-seo, 19k stars) and Referrals (coreyhaines31/marketingskills, 54k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Redirect Manager?

indranilbanerjee (a GitHub user) maintains it in indranilbanerjee/digital-marketing-pro, which has 862 GitHub stars. The repository holds 162 skills in this directory. The repository was last updated on October 9, 2026.

Source: indranilbanerjee/digital-marketing-pro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.