Skip to content
Automation
Command

/analyze

Analyze a webpage's structure using Actionbook's verified selectors and show available elements for scraping.

From plugin
actionbook
1.6k16 skills12 agents16 commands1 MCP
> /plugin marketplace add actionbook/actionbook
> /plugin install actionbook@actionbook-marketplace

Command definition

analyze.md

/actionbook-scraper:analyze

Analyze a webpage's structure using Actionbook's verified selectors and show available elements for scraping.

Usage

/actionbook-scraper:analyze <url>

Parameters

  • `url` (required): The full URL of the page to analyze

Examples

/actionbook-scraper:analyze https://firstround.com/companies
/actionbook-scraper:analyze https://example.com/products

Workflow

1. **Extract domain** from the provided URL 2. **Search Actionbook** using `search_actions` with domain and page keywords 3. **Fetch full details** using `get_action_by_id` for the best matching action 4. **Launch structure-analyzer agent** to process and format the results 5. **Present findings** with selector table and recommendations

Agent

This command uses the **structure-analyzer** agent (haiku model) for processing.

Output Format

## Page Analysis: {url}

### Matched Action
- **Action ID**: {action_id}
- **Confidence**: HIGH | MEDIUM | LOW

### Available Selectors

| Element | Selector | Type | Methods |
|---------|----------|------|---------|
| Company Card | .card-container | css | click, extract |
| Card Title | .card__title | css | extract |
| Expand Button | button.expand | css | click |

### Page Structure
- **Type**: Dynamic (requires scroll)
- **Data Pattern**: Card-based with expand/collapse
- **Lazy Loading**: Yes
- **Expand/Collapse**: Yes

### Recommendations
- **Suggested Template**: playwright-js
- **Special Handling**: Scroll to load all cards, click to expand each
- **Estimated Items**: ~200 cards

Error Handling

| Error | Cause | Solution | |-------|-------|----------| | "No matching actions found" | Site not indexed | Try `/actionbook-scraper:list-sources` to see available sites | | "Multiple matches found" | Ambiguous search | Results will show top matches, pick most relevant | | "Partial data available" | Incomplete indexing | Some selectors may be missing |

Notes

  • Run this command before `/actionbook-scraper:generate` to understand the page structure
  • Check the confidence level to gauge selector reliability
  • Review the page type to understand what template will be suggested
Read more
@actionbook
Ships withactionbook

Let your AI agent get the sources behind logins and paywalls.

1.6k8 skills12 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.6k
Star history of actionbook/actionbook on GitHub, a chart by star-history.com

Other commands on actionbook.

More commands from other plugins.

plan

plan

Command

Plan n8n Linear ticket implementation

n8n11d209k
@n8n-io@n8n-ioInstall Command
setup

setup

Command

One-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…

aris12d18k
@wanshuiyin@wanshuiyinInstall Command
agent
Auto-invoked

agent

Command

name: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…

@galaxy-dawn@galaxy-dawnInstall Command