SEOOptimizer (scripts/seo_optimizer.py)

agentic-awesome-skills · plugins/agentic-bundle-design-studio/skills/content-creator/scripts/seo_optimizer.py · python · MIT
crm

Analyzes Markdown content for SEO best practices and provides recommendations.

#!/usr/bin/env python3
# Source: https://github.com/sickn33/agentic-awesome-skills | License: MIT | Copyright 2026 Antigravity User
# Provided via justclaw.it.com; keep this notice with the code.
"""
SEO Content Optimizer - local Markdown diagnostics; no ranking or quality score
"""

import re
from typing import Dict, List, Set
import json
from pathlib import Path


def safe_user_path(path_value, base_dir="."):
    """Resolve a CLI path under the current workspace."""
    if base_dir != ".":
        raise ValueError("Custom base directories are not supported for CLI paths")
    base_path = Path.cwd().resolve()
    resolved_path = Path(path_value).expanduser().resolve()
    try:
        resolved_path.relative_to(base_path)
    except ValueError as exc:
        raise ValueError(f"Path escape

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key