360 Secure SkillHub
360 安全技能中心

Tweetnugget

该 Skill 内置三个本地 JSON 语录集合(共约 67 条),通过 python3 脚本随机抽取一条语录,支持跨集合随机和按标签模糊筛选;输出固定为“引文 — @作者”的极简格式,用户也可自行添加同格式的语录文件。

acailic
acailic
热度 40.55
最近更新 2026-05-11 17:39:16
分类:创作依赖:代码执行 / 读写文件应用场景:故事创作 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add tweetnugget
Metadata
name
tweetnugget
description
A random inspirational tweet from curated collections of hand-picked wisdom by tech leaders, founders, and philosophers.
version
1.1.0
author
amplifier
tools
["bash"]

TweetNugget

When the user asks for a quote, inspiration, or says something like "hit me with a quote" or "give me some wisdom":

How It Works

  1. Run scripts/get_quote.py to pick a quote from references/ directory
  2. Return the output directly to the user

Quote Collections

The references/ folder contains JSON files with this structure:

{
  "name": "Collection Name",
  "description": "...",
  "quotes": [
    {
      "text": "The quote text",
      "author": "@handle",
      "url": "https://x.com/...",
      "tags": ["tag1", "tag2"]
    }
  ]
}

Available collections:

  • swlw-tweets.json - 49 quotes from Software Lead Weekly newsletter (Dec-Jul 2025)
  • twitter-quotes.json - 12 curated Twitter quotes
  • stoic-quotes.json - 6 Stoic philosophy quotes

Step-by-Step Instructions

Basic: Get a random quote

python3 scripts/get_quote.py

Return the output directly to the user. Do not add commentary.

Surprise Me: Random collection, then random quote

For variety across collections:

python3 scripts/get_quote.py --surprise

Filtered: Get a quote by tag

If the user specifies a topic (e.g., "quote about AI", "something about leadership", "coding quote"):

python3 scripts/get_quote.py --tag ai

Replace ai with the user's topic. Uses partial matching (e.g., "lead" matches "leadership"). Falls back to a random quote if no match is found.

Available Tags

Common tags across collections: action, advice, ai, building, career, coding, courage, design, discipline, engineering, focus, happiness, humor, innovation, knowledge, leadership, learning, life, marketing, mindset, motivation, persistence, philosophy, product, programming, resilience, simplicity, startups, stoicism, strategy, thinking, wisdom, work

Response Format

Always return quotes in this format:

"The quote text" — @handle

If the quote has a URL, you may optionally append it as a link. Keep responses minimal - let the quote speak for itself.

Adding More Quotes

Users can add their own collections by placing new JSON files in the references/ directory following the same format.