account-research
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect…
\"Implement PageRank algorithm to compute web page importance scores using the random surfer model. Use this skill when the user needs to rank pages by link authority, build a simplified search ranking system, or understand how link structure determines page importance — even if
Claude Code
$ npx -y skills add charlieviettq/awesome-agent-skill --skill algo-seo-pagerank --agent claude-code
Codex
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-seo-pagerank -a codex -y
Cursor
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-seo-pagerank -a cursor -y
Gemini CLI
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-seo-pagerank -a gemini-cli -y
GitHub Copilot
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-seo-pagerank -a github-copilot -y
OpenCode
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-seo-pagerank -a opencode -y
Windsurf
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-seo-pagerank -a windsurf -y
name: "\"algo-seo-pagerank\"" description: "\"Implement PageRank algorithm to compute web page importance scores using the random surfer model. Use this skill when the user needs to rank pages by link authority, build a simplified search ranking system, or understand how link structure determines page importance — even if they say 'which pages are most important', 'link analysis', or 'page authority score'.\"." allowed-tools: Read, Glob, Grep
PageRank computes the importance of web pages by modeling a random surfer who follows links with probability d (damping factor) and jumps to a random page with probability 1-d. Converges in O(k * E) where k is iterations and E is number of edges.
**Trigger conditions:**
**When NOT to use:**
IRON LAW: PageRank Convergence - Damping factor d MUST be < 1 (typically 0.85) - Without damping, rank sinks and spider traps break convergence - Correctness invariant: sum of all PageRank values = 1.0
Build adjacency list from link data. Verify: no self-loops counted, all nodes accounted for (including dangling nodes with no outlinks). **Gate:** Graph is well-formed, dangling nodes identified.
1. Initialize all N pages with PR = 1/N 2. For each iteration:
3. Repeat until convergence (L1 norm change < ε, typically 1e-6)
Check: all PR values sum to ~1.0. Compare top-k rankings against known authority pages. **Gate:** |Σ PR - 1.0| < 0.001 and convergence achieved within max iterations.
Return sorted page scores with rank position.
{
"rankings": [{"page": "url", "score": 0.042, "rank": 1}],
"metadata": {"nodes": 1000, "edges": 5000, "iterations": 45, "damping": 0.85, "converged": true}
}**Input:** Pages A→B, A→C, B→C, C→A (3 nodes, 4 edges, d=0.85) **Expected Output:** C: 0.390, A: 0.327, B: 0.283 (approximate)
| Input | Expected | Why | |-------|----------|-----| | Single node, no links | PR = 1.0 | Only node gets all rank | | All nodes link to one | Target gets highest PR | Star topology concentrates rank | | Dangling node (no outlinks) | Distribute its rank equally | Prevents rank leakage |
Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect…
Evaluate LLM agents and tool-using workflows—task success, tool accuracy, latency/cost, safety, and regression suites. Use when…
Design agent tools and CLI surfaces—schemas, naming, errors, idempotency, and discoverability for LLM callers. Use when defining…
\"Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the…
\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to…
\"Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.