Token导航 LogoToken导航

Agent Skill · 研究检索

tikspyder(tikspyder 搜索)

tikspyder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

tikspyder 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 62,819。

总安装 326周安装 14GitHub Stars 1下载 114核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tikspyder(tikspyder 搜索)
来源仓库:https://github.com/estebanpdl/tikspyder-agent-skill
仓库路径:skills/tikspyder
安装命令:
npx skills add https://github.com/estebanpdl/tikspyder-agent-skill --skill tikspyder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/estebanpdl/tikspyder-agent-skill --skill tikspyder

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适合根据关键词或任务场景快速定位候选结果,支持 Codex、Claude 等宿主环境。可结合来源仓库和原始 README 核验具体用法。

安装命令:npx skills add https://github.com/estebanpdl/tikspyder-agent-skill --skill tikspyder。安装前建议确认权限范围、维护状态及是否会触发联网或文件读写操作。

来源仓库内路径:skills/tikspyder

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/estebanpdl/tikspyder-agent-skill --skill tiksp…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tikspyder 怎么安装?

在终端执行 npx skills add https://github.com/estebanpdl/tikspyder-agent-skill --skill tikspyder。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tikspyder 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tikspyder 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

tikspyder 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

tikspyder 用的人多吗?

公开数据是累计安装 326 次,近一周安装 14 次,下载 114 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tikspyder 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
tikspyder

tikspyder 搜索 · 本页

3261接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

TikSpyder — Guided TikTok Data Collection

You are guiding a user (who may not be technical) through collecting TikTok data using TikSpyder, an open-source data collection tool. Your job is to set up the environment, configure credentials, gather search parameters conversationally, run the tool, and summarize results.

Throughout this process, communicate clearly and explain what you're doing at each step. If something fails, explain the error in plain language and suggest a fix.


Phase 1: Locate TikSpyder & Environment Check

Before anything else, find (or install) TikSpyder and verify the environment is ready. Work through these steps in order and track two key variables:

  • TIKSPYDER_DIR — the root of the TikSpyder source repo (contains main.py, config/, etc.)
  • SKILL_DIR — the directory where this skill file lives

Conda activation note

Throughout this skill, whenever you need to activate a conda environment, run:

eval "$(conda shell.bash hook)" && conda activate tikspyder

This works on macOS, Linux, and Windows (Git Bash / miniforge). The eval line initializes conda for the current shell session so that conda activate works without requiring conda init to have modified the user's shell profile.

If this command fails, the user's conda installation likely needs repair — do not try to work around it with PATH manipulation. Tell the user what happened and suggest they run conda init bash and restart their terminal.

1.0 Check for cached environment (fast path)

After a successful run, the skill saves environment details to .tikspyder-env.json inside the skill directory. If this file exists, read it — it contains everything you need to skip most of Phase 1:

for candidate in .claude/skills/tikspyder "$HOME/.claude/skills/tikspyder"; do
  if [ -f "$candidate/.tikspyder-env.json" ]; then
    cat "$candidate/.tikspyder-env.json"
    break
  fi
done

If the file exists and contains valid data, use the cached values directly:

  • Set SKILL_DIR, TIKSPYDER_DIR, env_type, and ffmpeg status from the cached data
  • Activate the environment using the cached env_type: if conda, use the standard conda activation command; if venv, source the activate script
  • Do a quick sanity check: verify that TIKSPYDER_DIR still exists and tikspyder --help works after activation
  • If the sanity check passes, skip to Phase 1.7 (show the summary, but you can be brief since the user has seen it before — just confirm and move on)
  • If the sanity check fails (e.g., the directory was moved or env was deleted), delete the cache file and fall through to the full Phase 1

This saves significant time on repeat runs — no searching for environments, no conda env listing.

1.1 Find the skill directory

The skill directory contains this SKILL.md file. Search for it in standard locations:

for candidate in .claude/skills/tikspyder "$HOME/.claude/skills/tikspyder"; do
  if [ -f "$candidate/SKILL.md" ]; then
    echo "SKILL_DIR=$candidate"
    break
  fi
done

Store this as SKILL_DIR for later use.

1.2 Check if tikspyder is already installed

Try these checks in order. Stop at the first one that works.

Step A — Check current environment:

pip show tikspyder 2>&1

If found, extract Location: and verify main.py exists there. Set TIKSPYDER_DIR accordingly.

Step B — Check for a conda/mamba environment named tikspyder:

conda env list 2>/dev/null | grep tikspyder

If a tikspyder environment exists, activate it (using the conda pattern from above) and run pip show tikspyder again. If found, use that environment for all subsequent commands.

Step C — Check for an existing venv with tikspyder:

Look for a venv in common locations where the user may have cloned and installed tikspyder:

for candidate in "$SKILL_DIR/tik-spyder" "$HOME/tik-spyder" "./tik-spyder"; do
  for venv_dir in ".venv" "venv"; do
    activate_script="$candidate/$venv_dir/bin/activate"
    # On Windows (Git Bash), the activate script is in Scripts/
    [ ! -f "$activate_script" ] && activate_script="$candidate/$venv_dir/Scripts/activate"
    if [ -f "$activate_script" ]; then
      echo "Found venv at $candidate/$venv_dir"
      break 2
    fi
  done
done

If found, activate the venv with source "$activate_script", then run pip show tikspyder. If tikspyder is installed, set TIKSPYDER_DIR to that candidate directory and use this venv for all subsequent commands.

Step D — Check if repo is already cloned in the skill directory (without an environment):

ls "$SKILL_DIR/tik-spyder/main.py" 2>/dev/null

If found, set TIKSPYDER_DIR=$SKILL_DIR/tik-spyder. The environment will be created in Phase 1.5.

1.3 Download and install if needed

If TikSpyder isn't found by any of the checks above, download the official repository from GitHub into the skill directory:

cd "$SKILL_DIR"
git clone https://github.com/estebanpdl/tik-spyder.git

Then set TIKSPYDER_DIR=$SKILL_DIR/tik-spyder.

1.4 Python version

python --version 2>&1 || python3 --version 2>&1

TikSpyder needs Python 3.11 or newer. If the version is too old, tell the user and stop.

1.5 Create environment and install (only if tikspyder wasn't found in 1.2)

If tikspyder is already installed (found in Step A, B, or C), skip this entirely.

Otherwise, create an environment and install. First check whether conda/mamba is available:

conda --version 2>/dev/null || mamba --version 2>/dev/null

If conda/mamba is available, create a dedicated environment, activate it (using the conda pattern), and install TikSpyder from the cloned repository with pip install -e. inside TIKSPYDER_DIR.

If conda/mamba is not available, use Python's built-in venv:

cd "$TIKSPYDER_DIR"
python -m venv .venv

Activate — the path differs by platform:

  • Windows (Git Bash): source "$TIKSPYDER_DIR/.venv/Scripts/activate"
  • macOS / Linux: source "$TIKSPYDER_DIR/.venv/bin/activate"

Then install with pip install -e. inside TIKSPYDER_DIR.

Verify it works regardless of which environment type was created:

tikspyder --help

Tell the user which environment type was set up (conda or venv) so they know for future reference.

1.6 Check ffmpeg

ffmpeg -version 2>&1 | head -1

ffmpeg is needed for audio extraction and keyframe extraction. If missing, tell the user clearly what they'll lose and ask whether to proceed:

  • "ffmpeg is not installed. Without it, TikSpyder can still download videos and collect metadata, but audio extraction and keyframe extraction will be skipped. You can install it from https://ffmpeg.org/download.html. Would you like to proceed without ffmpeg, or install it first?"

If the user wants to proceed without ffmpeg, that's fine — just remember this for Phase 4 so you're not surprised by No such file or directory: 'ffmpeg' errors in the output (they're expected and harmless).

1.7 Summary and readiness check (STOP HERE before continuing)

Before moving to Phase 2, present a readiness report and wait for user confirmation. Do NOT proceed until the user says it's OK. This prevents wasting API credits or running commands in a broken environment.

Show something like:

Environment readiness:
- Python: 3.12 (OK)
- TikSpyder: v0.1.0 installed (conda env: tikspyder)
- ffmpeg: not installed (audio extraction and keyframes will be skipped)

Ready to continue with API key setup?

If any critical requirement is missing (Python too old, tikspyder failed to install), stop here and help the user fix it. If only ffmpeg is missing, the user can choose to proceed — but they must explicitly confirm.


Phase 2: API Key Configuration

TikSpyder uses two external APIs:

  • SerpAPI — powers Google-based TikTok search (Google search results + Google Images thumbnails)
  • Apify — powers direct TikTok profile and hashtag data collection

Important: TikSpyder runs SerpAPI calls in ALL modes — even --user and --tag modes trigger Google search and Google Images calls before the Apify step. Without a valid SerpAPI key, those calls will fail with 401 errors. The Apify step will still work, but data collection will be incomplete. For best results, configure both keys regardless of which search mode the user plans to use.

2.1 Check existing keys

Read the config file at $TIKSPYDER_DIR/config/config.ini using the Read tool. Check whether api_key and apify_token contain real credentials.

A key is NOT valid if it:

  • Is empty or whitespace
  • Contains the word your (e.g., your_serp_api_key, your_apify_token)
  • Is literally <the_key> or <the_token>
  • Is shorter than 20 characters (real API keys are longer)

Security rules:

  • NEVER print, display, or echo API keys back to the user
  • When reporting status, say "SerpAPI key: configured" or "Apify token: not configured" — never show the actual values
  • When writing keys to the config file, use the Write tool directly — do not use echo/cat in bash where the key would appear in the command

2.2 Ask for missing keys

If either key is invalid, ask the user for it. Ask for ALL missing keys at once — don't ask for just one and discover the other is missing later during execution.

Explain what each API is for:

  • "SerpAPI key — This lets TikSpyder search Google for TikTok content. You can get one at https://serpapi.com/ (they have a free tier)."
  • "Apify token — This lets TikSpyder collect TikTok profiles and hashtags directly. You can get one at https://apify.com/ (they have a free tier). Required for user profile and hashtag searches."

If the user can only provide one key, that's OK — explain what will and won't work:

  • SerpAPI only: keyword searches work fully; user/hashtag modes will fail
  • Apify only: user/hashtag collection works but Google search/images steps will show 401 errors (data collection still succeeds via Apify, just with incomplete results)

2.3 Save keys

Write the config file at $TIKSPYDER_DIR/config/config.ini using this exact format:

[SerpAPI Key]
api_key = <the_key>

[Apify Token]
apify_token = <the_token>

Preserve any existing valid key if the user only provides one of the two.


Phase 3: Collect Search Parameters

Ask the user what they want to collect. Use AskUserQuestion to make this conversational. Here's the decision tree:

3.1 Search mode (required)

Ask: "What would you like to search for?"

ModeCLI flagNotes
Keyword search--q "term"Searches Google for TikTok results matching the term
User profile--user usernameCollects a specific TikTok user's videos (requires --apify)
Hashtag--tag hashtagCollects videos with a specific hashtag (requires --apify)

If the user picks user or hashtag mode, the --apify flag is automatically required — add it without asking.

Also validate that the required API key is configured for the chosen mode. If user picks keyword search but SerpAPI key is missing, go back to Phase 2. Same for Apify with user/hashtag modes.

3.2 Additional parameters

After knowing the search mode, ask about these options. You don't need to ask about every single one — use judgment based on the user's goal. Present the most relevant options:

For keyword searches:

  • Country (--gl, e.g., us, gb, mx) — "Which country should Google search from?"
  • Language (--hl, e.g., en, es, fr) — "What language?"
  • Date range (--after / --before, format YYYY-MM-DD) — "Want to limit to a specific date range?"
  • Search depth (--depth, default 3) — "How deep should related content search go? Default is 3 levels."

For user/hashtag searches (Apify):

  • Date filters (--oldest-post-date / --newest-post-date, format YYYY-MM-DD)
  • Number of results (--number-of-results, default 25)

For all modes:

  • Download videos? (--download) — "Do you want to download the actual video files?"
  • Output directory (--output) — "Where should I save the results? Default creates a timestamped folder in ./tikspyder-data/."
  • Worker threads (--max-workers) — Only mention if the user seems technical or asks about speed. Default is 5 for downloads, 3 for keyframes.

3.3 Date synchronization (critical)

TikSpyder uses two separate date filtering systems that operate independently:

  • SerpAPI dates (--after / --before) — filter the Google search results
  • Apify dates (--oldest-post-date / --newest-post-date) — filter the Apify results

When the user specifies any date range, you MUST set the corresponding flags for BOTH systems. Otherwise one API returns filtered results while the other returns everything, mixing date-filtered and unfiltered data.

Mapping:

User saysSerpAPI flagApify flag
"after [date]" / "since [date]" / "from [date]"--after [date]--oldest-post-date [date]
"before [date]" / "until [date]"--before [date]--newest-post-date [date]

Example: If the user says "videos after January 2026", the command needs BOTH:

--after 2026-01-01 --oldest-post-date 2026-01-01

This applies to all search modes — keyword, user, and hashtag.

3.4 Confirm before running

Before executing, show the user a plain-language summary of what will happen:

Here's what I'm about to run:
- Search: keyword "election misinformation"
- Country: US, Language: English
- Date range: after 2025-01-01
- Download videos: yes
- Output: ./tikspyder-data/1234567890/

Ask for confirmation before proceeding.


Phase 4: Execute

4.1 Activate environment if needed

Reactivate the same environment that was discovered/created in Phase 1. If using conda, use the conda activation pattern from the top of this document. If using venv, source the activate script (Windows: .venv/Scripts/activate, macOS/Linux: .venv/bin/activate).

4.2 Build and run the command

Construct the tikspyder CLI command from the collected parameters. Always cd into TIKSPYDER_DIR first so the config file is found correctly.

Example commands:

# Keyword search with date filter
cd "$TIKSPYDER_DIR" && tikspyder --q "search term" --gl us --hl en \
  --after 2025-01-01 --before 2025-06-01 --output ./data/ --download

# User profile with date filter (note: BOTH --after AND --oldest-post-date)
cd "$TIKSPYDER_DIR" && tikspyder --user username --apify \
  --after 2025-01-01 --oldest-post-date 2025-01-01 --output ./data/

# Hashtag with date filter
cd "$TIKSPYDER_DIR" && tikspyder --tag hashtag --apify \
  --after 2025-01-01 --oldest-post-date 2025-01-01 \
  --number-of-results 50 --output ./data/ --download

Remember to prepend the conda or venv activation before cd if needed.

Run the command and let the user see the output. Use a generous timeout (up to 10 minutes) since data collection can take a while depending on the search scope.

4.3 Error handling

The command may exit with errors even when data was partially collected. Check the output directory before concluding the run failed — partial success is common.

Expected noise (not errors):

OutputExplanation
Error extracting audio: No such file or directory: 'ffmpeg'ffmpeg not installed — videos are still downloaded, only audio extraction is skipped. Harmless if user chose to proceed without ffmpeg in Phase 1.

Errors that need action:

ErrorLikely causeFix
ValueError: Either --user, --q or --tag must be providedMissing search termAsk what they want to search
401 Client Error: Unauthorized from serpapi.comSerpAPI key is invalid or still a placeholderThis should NOT happen — it means Phase 2 failed to detect an invalid key. Ask the user for the correct key, save it, and rerun. Review Phase 2.1 validation rules to understand what went wrong.
IndexError: list index out of range in sql_manager.pySerpAPI returned no data, leaving the SQL database emptyThis is a downstream symptom of a bad SerpAPI key. Same fix as above.
ApifyApiError: User was not found or authentication token is not validBad Apify tokenAsk user to check their token at https://console.apify.com/account
RuntimeError with asyncioEvent loop conflictRun cd "$TIKSPYDER_DIR" && git pull to get the latest fix
Connection/timeout errorsNetwork issuesSuggest checking internet connection, or trying with fewer results

4.4 Post-run summary

After the command finishes, inspect the output directory and summarize what was collected:

find <output_dir> -type f | head -50
ls -la <output_dir>/*.csv 2>/dev/null
ls <output_dir>/downloaded_videos/ 2>/dev/null | wc -l
ls <output_dir>/keyframes/ 2>/dev/null | wc -l
du -sh <output_dir>

Report to the user:

  • Number of CSV data files generated
  • Number of videos downloaded (if applicable)
  • Number of keyframes extracted (if applicable)
  • Total size of the output directory
  • Path to the main CSV file(s) they can open in Excel or Google Sheets

4.5 Save environment cache (after successful run)

After a successful run (data was collected, output directory has files), save the resolved environment details so the next session can skip Phase 1 discovery. Write a JSON file at $SKILL_DIR/.tikspyder-env.json:

{
  "tikspyder_dir": "/absolute/path/to/tik-spyder",
  "skill_dir": "/absolute/path/to/skill/directory",
  "env_type": "conda",
  "env_name": "tikspyder",
  "python_version": "3.12.1",
  "ffmpeg_available": false,
  "api_keys_configured": true,
  "last_successful_run": "2026-02-27"
}
  • env_type should be "conda" or "venv"
  • env_name is the conda environment name (only relevant for conda)
  • Use absolute paths so the cache works regardless of the working directory
  • Only write this file after a confirmed successful run — never after errors

If the file already exists, update it (the paths or ffmpeg status may have changed).


Phase 5: Streamlit App (Alternative)

If the user says they'd prefer a visual interface, or if they seem unsure about parameters and might benefit from a UI, offer to launch the Streamlit web app instead.

Make sure environment and API keys are configured (Phases 1-2) before launching.

Activate the environment (conda or venv, same as Phase 4), then run:

cd "$TIKSPYDER_DIR" && tikspyder --app

This starts a local web server at http://localhost:8501. Tell the user:

  • "I've launched the TikSpyder web interface. It should open in your browser at http://localhost:8501"
  • "The web interface lets you configure searches, set download options, and track progress visually"
  • "When you're done, come back and tell me — I'll stop the server"

The Streamlit app runs as a blocking process. To keep the conversation going while it runs, launch it in the background using run_in_background. When the user is done, find and stop the process listening on port 8501.


Quick Reference: Full CLI Flags

FlagTypeDescription
--qstringSearch keyword/phrase
--userstringTikTok username
--tagstringTikTok hashtag
--glstringCountry code (e.g., us)
--hlstringLanguage code (e.g., en)
--crstringMultiple country filter
--lrstringMultiple language filter
--safestringAdult content filter: active (default) or off
--google-domainstringGoogle domain (default: google.com)
--depthintRelated content depth (default: 3)
--beforestringDate upper bound (YYYY-MM-DD)
--afterstringDate lower bound (YYYY-MM-DD)
--apifyflagEnable Apify integration
--oldest-post-datestringApify: oldest post date (YYYY-MM-DD)
--newest-post-datestringApify: newest post date (YYYY-MM-DD)
--number-of-resultsintApify: max results (default: 25)
-d, --downloadflagDownload video files
-w, --max-workersintThread count for downloads
-o, --outputstringOutput directory path
--appflagLaunch Streamlit web UI

平台分布

Claude

33.14%
按下载量换算38

Codex

32.61%
按下载量换算37

Cursor

17.05%
按下载量换算19

Gemini CLI

9.9%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills