← Back to Skills Marketplace
🔌

TikTok Search

by Gecho AI · GitHub ↗ · v1.1.7 · MIT-0
cross-platform ⚠ suspicious
3
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install tiktok-search
Description
Professional TikTok keyword search and data extraction tool. Automates browsing and scraping via Chrome extension.
README (SKILL.md)

TikTok Search 🚀

A specialized tool for searching and extracting video metadata from TikTok. It bridges your local Chrome browser via an extension to perform automated searches, scrolling, and data collection.

Tools

tiktok_search

Executes a keyword search, auto-scrolls to load results, and returns metadata.

Parameters:

  • query (string, required): The search keyword or phrase (e.g., "cooking tips", "travel vlogs").
  • save_dir (string, optional): Absolute path to save the results JSON. Best Practice: Always proactively generate a safe, timestamped absolute path in the current workspace (e.g., /absolute/path/to/workspace/tiktok_travel_vlogs_1690000000.json) so the user doesn't lose the raw data.

Returns:

A JSON array containing video IDs, titles, like counts, play URLs, and author info.

tiktok_insight

Performs business insight and trend analysis based on TikTok search results.

Parameters:

  • query (string, required): The search keyword or phrase (e.g., "outdoor picnic mat").
  • save_dir (string, optional): Absolute path to save the results JSON.

Returns:

A JSON array with analyzed insights and trends based on the search query.

Prerequisites Check & Environment Setup

Before calling, ensure the following prerequisites are met:

  1. Node.js: Installed in the local environment.
  2. Gecho TikTok Extension & Active Tab: The USER must have Chrome open locally with the extension active and a TikTok tab open.

⚠️ CRITICAL AGENT INSTRUCTION: You (the Agent) MUST NOT attempt to install Chrome, open browsers, or use tools like browser_navigate to fulfill these prerequisites. Do NOT check for Chrome yourself. Your ONLY responsibility is to call the MCP tool.

Execution Rules & Constraints (CRITICAL)

You MUST strictly adhere to the following rules when calling the MCP tools:

  1. Single Tool Call Limit: You MUST NOT execute more than ONE tool call (tiktok_search OR tiktok_insight) per conversational turn. You MUST wait for the user's feedback before initiating another search or insight request.
  2. Strict Tool Binding (No Fallbacks): You MUST ONLY use the EXACT tools specified (tiktok_search or tiktok_insight) for TikTok searches. You are STRICTLY FORBIDDEN from falling back between these tools. For example, if the user asks for an insight (tiktok_insight) and it fails or times out, you MUST NOT try to call tiktok_search as a backup. Stop immediately and report the failure. You are also forbidden from using built-in browser tools, generic WebSearch, or writing Python scrapers to visit TikTok.com.
  3. Fail Fast & Explicit Reporting: If the MCP tool fails, times out, or throws an error (e.g., params is not defined), you MUST STOP immediately. Do NOT offer alternative web search solutions. You MUST output the raw error message to the user.
  4. No Parallel Execution: Since this tool controls an active Chrome tab, it is strictly single-threaded. You MUST NEVER execute multiple tiktok_search tool calls in parallel simultaneously. You must wait for one search to completely finish before starting another.
  5. Anti-Hallucination (No Fake Data): You MUST base your final response ONLY on the exact data returned by the tool. If the tool returns empty results ([]), you MUST NOT hallucinate or guess. Inform the user exactly what the tool returned.
  6. Anti-Spam (No Infinite Loops): NEVER call the tool repeatedly with the exact same query if it fails or returns empty results.
  7. No Retries (STRICT): If a call fails due to a timeout (MCP error -32001), network error, or any other reason, you MUST STOP immediately and return the error to the user. DO NOT attempt to call the tool again in the same turn or subsequent turns unless the user explicitly requests it.
  8. Timeout Awareness: The tiktok_insight tool can take up to 5 minutes to complete. If you receive a timeout error, inform the user that the operation was too complex or that they should check their browser for a CAPTCHA.
  9. Output Summarization (Avoid Chat Spam): If the tool returns a large number of results (e.g., 200 videos), DO NOT print the entire raw JSON array in your chat response. You must summarize the top 3-5 results, and utilize the save_dir parameter to save the full dataset to the user's disk.

Troubleshooting & Error Handling (Decision Tree)

If the tiktok_search tool execution fails, follow this decision tree to assist the user:

  1. Error: "MCP error -32001: Request timed out"
    • STOP IMMEDIATELY. Do not retry.
    • → Inform the user: "The analysis/search is taking longer than expected. Please check your Chrome browser to see if TikTok is showing a CAPTCHA or if the page is stuck. You can try again after resolving any browser-side issues."
  2. Error: "Chrome extension not found/connected"
    • → Inform the user: "Please ensure the Gecho TikTok Chrome extension is installed, enabled, and you have an active TikTok tab open in Chrome."
  3. Error: "Timeout" (Service Level)
    • → Inform the user: "The service layer timed out. This usually happens if the search volume is extremely high. Try a more specific query."
  4. Error: "Tool not found"
    • → Inform the user: "The tool is not registered. Please ensure the Gecho Bridge Plugin is installed and active."

Example Usage & Standard Operating Procedure (SOP)

When a user requests a TikTok search, follow this exact 4-step workflow:

  1. Determine Path: Proactively generate a valid absolute path for save_dir based on the user's OS and current workspace.
  2. Execute: Call tiktok_search with the query and save_dir.
  3. Process: Wait for the JSON array.
  4. Report: Inform the user where the raw JSON file was saved, and output a concise Markdown summary table (Title, Likes, Author, URL) for the top 3-5 videos only.

Example: "Find trending videos for 'travel vlogs'" → Action: Call tiktok_search with query="travel vlogs" and save_dir="/path/to/workspace/travel_vlogs_results.json"

Limitations

  • Requires an active user session in Chrome.
  • Only works via the MCP tool interface.
Usage Guidance
Install this only if you trust Gecho Bridge and its Chrome extension. Prefer a separate Chrome profile or TikTok account, verify the npm package and extension publisher, pin versions where possible, keep saved data inside a known workspace directory, and disable the bridge/extension when you are done.
Capability Analysis
Type: OpenClaw Skill Name: tiktok-search Version: 1.1.7 The tiktok-search skill bundle provides a specialized tool for extracting TikTok metadata via a local Chrome extension and the Model Context Protocol (MCP). The SKILL.md and README.md files contain well-defined operational constraints that prioritize agent reliability, such as anti-hallucination rules, single-threaded execution limits, and explicit error-handling decision trees. While the tool requests the ability to save scraped data to local absolute paths (save_dir), this behavior is strictly aligned with its stated purpose as a data extraction tool and includes instructions for the agent to use safe, workspace-relative paths. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
The documented capability is coherent with the stated purpose: TikTok keyword search, scrolling, scraping, metadata extraction, insight analysis, and local JSON export.
Instruction Scope
The skill includes several limiting instructions such as one tool call per turn, no retries, no parallel execution, and no fallback scraping; these are mostly scope controls, but the agent is also encouraged to choose a save path and write output locally.
Install Mechanism
Although registry installation says this is instruction-only, the README tells users to install a remote MCP package using an unpinned '@latest' npm reference and a Chrome extension; the runnable browser-control code is not included in the reviewed artifacts.
Credentials
The tool requires a local Chrome extension and a logged-in TikTok browser session, which is high-impact delegated account/browser access and is not reflected as a declared primary credential.
Persistence & Privilege
The skill persists scraped results to disk and describes a local resident service for browser-extension communication; this is purpose-aligned but users should understand that local files and a helper service may remain after use.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tiktok-search
  3. After installation, invoke the skill by name or use /tiktok-search
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.7
Initial release of the TikTok Search skill – professional TikTok keyword search and extraction tool. - Supports automated TikTok search and metadata extraction through a Chrome extension and Node.js. - Provides two main tools: `tiktok_search` (video metadata) and `tiktok_insight` (trend/business analysis). - Enforces strict execution rules: one tool call per turn, no retries, no fallbacks, and robust error handling with explicit reporting. - Returns concise summaries in chat; saves full results to a specified local path. - Includes step-by-step usage instructions, error troubleshooting guidelines, and highlights all operational constraints.
Metadata
Slug tiktok-search
Version 1.1.7
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is TikTok Search?

Professional TikTok keyword search and data extraction tool. Automates browsing and scraping via Chrome extension. It is an AI Agent Skill for Claude Code / OpenClaw, with 3 downloads so far.

How do I install TikTok Search?

Run "/install tiktok-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is TikTok Search free?

Yes, TikTok Search is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does TikTok Search support?

TikTok Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created TikTok Search?

It is built and maintained by Gecho AI (@gecho-ai); the current version is v1.1.7.

💬 Comments