بنقرة واحدة
accounts
Manage TikTok profiles to scrape. Switch accounts, add multiple profiles, or list saved profiles.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Manage TikTok profiles to scrape. Switch accounts, add multiple profiles, or list saved profiles.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Transcribe ALL videos from a TikTok profile. Use when you want to process an entire profile's content.
Set up the project and learn how to use it. Run this first when opening the project.
Transcribe specific video URL(s). Use when you have one or more TikTok video URLs to process.
Turn a transcript summary into a reusable Claude skill. Researches the topic and creates a skill file.
| name | accounts |
| description | Manage TikTok profiles to scrape. Switch accounts, add multiple profiles, or list saved profiles. |
| user_invocable | true |
This command lets users manage which TikTok profiles they want to scrape from.
Display:
Manage TikTok Profiles
What would you like to do?
Ask:
What TikTok profile URL do you want to switch to?
Example:
https://www.tiktok.com/@newusername
Then:
accounts.json as the active profileAsk:
What TikTok profile URL do you want to add?
Example:
https://www.tiktok.com/@anotherusername
Then:
accounts.json profiles listRead accounts.json and display:
Saved Profiles:
---------------
1. @example_creator (active)
https://www.tiktok.com/@example_creator
2. @techcreator
https://www.tiktok.com/@techcreator
3. @aiexplainer
https://www.tiktok.com/@aiexplainer
Show list and ask which to remove.
Ask:
Which profiles do you want to process? (comma-separated numbers or "all")
Then run /bulk for each selected profile sequentially.
Store profile configuration in project root:
{
"active": "https://www.tiktok.com/@example_creator",
"profiles": [
{
"url": "https://www.tiktok.com/@example_creator",
"name": "example_creator",
"added": "2024-01-21"
},
{
"url": "https://www.tiktok.com/@techcreator",
"name": "techcreator",
"added": "2024-01-21"
}
]
}
To read:
cat accounts.json 2>/dev/null || echo '{"active": null, "profiles": []}'
To write (use Python for proper JSON handling):
python3 -c "
import json
from pathlib import Path
accounts_file = Path('accounts.json')
if accounts_file.exists():
data = json.loads(accounts_file.read_text())
else:
data = {'active': None, 'profiles': []}
# Modify data as needed...
# data['active'] = 'NEW_URL'
# data['profiles'].append({'url': 'URL', 'name': 'NAME', 'added': 'DATE'})
accounts_file.write_text(json.dumps(data, indent=2))
print('Saved!')
"
When /bulk or /transcribe runs, check for active profile:
accounts.json exists and has an active profile, offer to use itBefore adding/switching, validate the profile:
source .venv/bin/activate && python -c "
from short_form_scraper.scraper.tiktok import TikTokScraper
url = 'PROFILE_URL_HERE'
scraper = TikTokScraper(url)
try:
videos = list(scraper.get_video_urls(limit=1))
if videos:
print(f'Valid profile! Found videos.')
print(f'Latest: {videos[0].title}')
else:
print('Profile exists but has no videos.')
except Exception as e:
print(f'Error: Could not access profile - {e}')
"
User: /accounts
Claude: Manage TikTok Profiles
What would you like to do?
User: 2
Claude: What TikTok profile URL do you want to add?
User: https://www.tiktok.com/@techreviewer
Claude: [Validates profile] Added @techreviewer to your profiles!
You now have 2 saved profiles. Run /accounts again to switch between them or process multiple at once.