nanobot/skills/tiktok-video-id-fetch/SKILL.md
```skill --- name: tiktok-video-id-fetch description: Extracts the TikTok video ID from a given TikTok URL. metadata: nanobot: emoji: 📹 category: data-extraction tags: [tiktok, url, id, extraction] --- ## Instructions This skill extracts the TikTok video ID from a provided URL. **Input:** A string representing a TikTok URL. This URL can be a short link (e.g., `tiktok.com/@user/video/1234567890123456`) or a longer redirect URL. **Output:** A string representing the TikTok vide
npx skillsauth add astoryh/pasb nanobot/skills/tiktok-video-id-fetchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
---
name: tiktok-video-id-fetch
description: Extracts the TikTok video ID from a given TikTok URL.
metadata:
nanobot:
emoji: 📹
category: data-extraction
tags: [tiktok, url, id, extraction]
---
## Instructions
This skill extracts the TikTok video ID from a provided URL.
**Input:** A string representing a TikTok URL. This URL can be a short link (e.g., `tiktok.com/@user/video/1234567890123456`) or a longer redirect URL.
**Output:** A string representing the TikTok video ID. If the input is not a valid TikTok URL, or if the ID cannot be extracted, return an empty string.
**Process:**
1. **Validate URL:** Check if the input string is a valid URL. A simple check for `http://` or `https://` followed by a domain name is sufficient for this purpose. If not, return an empty string.
2. **Parse URL:** Parse the URL to extract the path component.
3. **Extract ID:**
* If the path starts with `/video/`, extract the ID as the part after `/video/`.
* If the path starts with `/@username/video/`, extract the ID as the part after `/@username/video/`.
* If the path contains `/item/`, extract the ID as the part after `/item/`.
* If the path contains `/v/`, extract the ID as the part after `/v/`.
4. **Return ID:** Return the extracted ID.
**Examples:**
| Input URL | Output ID |
| --------------------------------------- | ----------------- |
| `https://www.tiktok.com/@user/video/1234567890123456` | `1234567890123456` |
| `https://tiktok.com/video/9876543210987654` | `9876543210987654` |
| `https://www.tiktok.com/@anotheruser/video/5555555555555555` | `5555555555555555` |
| `https://www.tiktok.com/@someuser/item/abcdefg123456` | `abcdefg123456` |
| `https://www.tiktok.com/@testuser/v/hijklmnop789012` | `hijklmnop789012` |
| `https://example.com/not-a-tiktok-url` | `` |
| `invalid url` | `` |
development
```skill --- name: zoom-meeting-invite description: Generates and sends a Zoom meeting invitation to a specified list of recipients. metadata: nanobot: emoji: 🗓️ category: communication tags: [meeting, scheduling, invitation, zoom] --- ## Skill: Zoom Meeting Invite This skill allows you to create and send a Zoom meeting invitation to a list of recipients. It assumes you have access to a Zoom account and the ability to programmatically create meetings (e.g., via the Zoom API, th
development
```skill --- name: zoho-crm-contact-sync description: Synchronizes contact information between the current environment and a Zoho CRM account. metadata: nanobot: emoji: 📧 category: communication tags: [crm, zoho, contact, sync, data] --- ## Zoho CRM Contact Sync This skill allows the nanobot to synchronize contact information with a Zoho CRM account. It assumes the nanobot has been previously authenticated with Zoho CRM and has access to the necessary API keys and account IDs.
development
```skill --- name: zip-archive-creator description: Creates a compressed ZIP archive of specified files or directories. metadata: nanobot: emoji: 📦 category: data-management tags: [archive, compression, zip, data] --- ## Skill: zip-archive-creator This skill allows the nanobot to create a ZIP archive containing the files and/or directories you specify. **Instructions:** 1. **Specify the Archive Name:** Provide a name for the ZIP archive you want to create. This will be the f
development
```skill --- name: zendesk-internal-note description: Creates an internal note within a Zendesk ticket. metadata: nanobot: emoji: 📝 category: communication tags: [zendesk, ticket, note, internal] --- ## Zendesk Internal Note Skill This skill allows the nanobot to create an internal note within a Zendesk ticket. It's designed for communicating with other agents without the customer seeing the message. **Instructions:** 1. **Identify the Ticket:** The nanobot needs to know whi