360 Secure SkillHub
360 安全技能中心

Twitch

提供 twitch 命令行工具,通过 roll、score、rank 等命令把文本输入记录到本地数据目录,并提供 history、stats、search、recent、export(json/csv/txt)、status 等查看与导出功能;脚本为 Bash/sh,数据保存在本机。

分类:效率
ckchzh
ckchzh
热度 42.04
最近更新 2026-05-11 17:33:05

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ckchzh/twitch
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
Twitch
description
Manage Twitch channel data, scores, and rankings from CLI. Use when rolling highlights, scoring streams, ranking metrics, tracking stats.
version
2.0.0
author
BytesAgain
homepage
https://bytesagain.com
source
https://github.com/bytesagain/ai-skills
tags
["twitch","tool","terminal","cli","utility"]

Twitch

Manage Twitch data right from your terminal. Built for people who want get things done faster without complex setup.

Why Twitch?

  • Works entirely offline — your data never leaves your machine
  • Simple command-line interface, no GUI needed
  • Export to JSON, CSV, or plain text anytime
  • Automatic history and activity logging

Getting Started

# See what you can do
twitch help

# Check current status
twitch status

# View your statistics
twitch stats

Commands

Command What it does
twitch roll Roll
twitch score Score
twitch rank Rank
twitch history History
twitch stats Stats
twitch challenge Challenge
twitch create Create
twitch join Join
twitch track Track
twitch leaderboard Leaderboard
twitch reward Reward
twitch reset Reset
twitch stats Summary statistics
twitch export Export (json
twitch search Search entries
twitch recent Recent activity
twitch status Health check
twitch help Show this help
twitch version Show version
twitch $name: $c entries
twitch Total: $total entries
twitch Data size: $(du -sh "$DATA_DIR" 2>/dev/null
twitch Version: v2.0.0
twitch Data dir: $DATA_DIR
twitch Entries: $(cat "$DATA_DIR"/*.log 2>/dev/null
twitch Disk: $(du -sh "$DATA_DIR" 2>/dev/null
twitch Last: $(tail -1 "$DATA_DIR/history.log" 2>/dev/null
twitch Status: OK
twitch [Twitch] roll: $input
twitch Saved. Total roll entries: $total
twitch [Twitch] score: $input
twitch Saved. Total score entries: $total
twitch [Twitch] rank: $input
twitch Saved. Total rank entries: $total
twitch [Twitch] history: $input
twitch Saved. Total history entries: $total
twitch [Twitch] stats: $input
twitch Saved. Total stats entries: $total
twitch [Twitch] challenge: $input
twitch Saved. Total challenge entries: $total
twitch [Twitch] create: $input
twitch Saved. Total create entries: $total
twitch [Twitch] join: $input
twitch Saved. Total join entries: $total
twitch [Twitch] track: $input
twitch Saved. Total track entries: $total
twitch [Twitch] leaderboard: $input
twitch Saved. Total leaderboard entries: $total
twitch [Twitch] reward: $input
twitch Saved. Total reward entries: $total
twitch [Twitch] reset: $input
twitch Saved. Total reset entries: $total

Data Storage

All data is stored locally at ~/.local/share/twitch/. Each action is logged with timestamps. Use export to back up your data anytime.

Feedback

Found a bug or have a suggestion? Let us know: https://bytesagain.com/feedback/


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com