VX

virgiliojr94/x-to-skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

22 stars 质量 55 趋势 18

x-to-skill 将公开的X/Twitter账号帖子转化为可引用的代理技能——反复出现的想法、真实矛盾,以及每个声明背后的来源链接。英文 ·葡萄牙(巴西)

概览

x-to-skill 将公开的X/Twitter账号帖子转化为可引用的代理技能——反复出现的想法、真实矛盾,以及每个声明背后的来源链接。英文 ·葡萄牙(巴西) 对人类来说,它是一个可搜索的集合。对人工智能代理来说,它是一个本地的、保持来源的语料库,包含廉价的样本和每月的片段——但没有将整个时间线置于上下文中。 由此产生的技能是按主题而非日期来构建的。一个想法只有在至少三篇文章中反复出现时才会成为框架;较小的主题则变成观察或被放弃。 OpenCLI 是必需的。它会重复使用已有认证的 Chrome 会话,只读取指定账户的公开帖子。 不要用抓取工具或其他 API/客户端替代:安全防护取决于 opencli 的输出格式。 对于任何能从 GitHub 仓库安装技能的代理/大型语言模型,请把这段内容粘贴到其聊天中: 代理必须遵循自身的技能安装规范,然后在使用前读取 SKILL.md。

概述(AI 翻译)

x-to-skill

将公开的X/Twitter账号的帖子转化为可引用的代理技能——反复出现的想法、真实的矛盾,以及每个声明背后附有来源链接。

英语 · 葡萄牙(巴西)

对人类来说,它是一个可搜索的集合。对于人工智能代理来说,它是局部的, 带有廉价样本和月度块的保存来源语料库—— 把整个时间线放在背景中。

输出

由此产生的技能是按主题而非日期来构建的。一个想法变成了 只有当它至少在三篇帖子中出现时才有框架;较小的主题变成 观察或被放弃。

要求

opencli 是必需的。它重用已有认证的 Chrome 会话 请仅阅读该账户的公开帖子。

不要用抓取器或其他API/客户端替代:安全防护依赖于 opencli的输出格式。

安装代理或大型语言模型

对于任何能从 GitHub 仓库安装技能的代理/大型语言模型,请粘贴这个 在聊天中:

代理必须遵循自身的技能安装惯例,然后读取 SKILL.md 在使用前。未来的 npx 安装程序可能会简化此过程; GitHub URL 是今天的安装源代码。

用它

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

x-to-skill

Turn a public X/Twitter account’s posts into a citable agent skill — recurring ideas, real contradictions, and a source URL behind every claim.

English · Português (Brasil)

For people, it is a searchable collection. For AI agents, it is a local, provenance-preserving corpus with a cheap sample and monthly chunks — without putting an entire timeline into context.

Output

-corpus/
├── manifest.json       # requested/actual window, counts, and file list
├── raw.jsonl           # complete source records; quote-tweet context
├── corpus.md           # compact chronological collection
├── sample.md           # up to 3 high-signal posts per month
└── chunks/YYYY-MM.md   # monthly slices for selective reading

The resulting skill is structured by themes, not dates. An idea becomes a framework only when it recurs in at least three posts; smaller themes become observations or are dropped.

Requirement

opencli is required. It reuses the existing authenticated Chrome session to read only the named account’s public posts.

npm install -g @jackwener/opencli
opencli twitter whoami -f json

Do not substitute a scraper or another API/client: the safety guards depend on opencli’s output format.

Install in an agent or LLM

For any agent/LLM that can install skills from a GitHub repository, paste this into its chat:

Install https://github.com/virgiliojr94/x-to-skill

The agent must follow its own skill-installation convention, then read SKILL.md before use. A future npx installer may simplify this; the GitHub URL is the install source today.

Use it

After installation, ask your agent to use x-to-skill for the public X profile URL you want to analyze. Each agent discovers and invokes installed skills through its own configuration and command convention; this project does not prescribe a slash command, prompt syntax, or filesystem path.

The agent follows SKILL.md: it collects the named public profile, asks the intake questions, and records the actual returned date window in manifest.json. The default requested window is the previous 365 days; X may return less history than requested.

Intake

Before collecting, choose or accept defaults:

Question Options Default
Profile Technical · Philosophical · Idealistic · Mixed/custom Mixed/custom
Window 3 · 6 · 12 · 24 months · all available · dates 12 months
Depth Economic reference · Deep study Economic reference

Profile is a lens for theme hypotheses; it never restricts collected posts. A technical account can yield philosophical principles and the reverse is true.

Safety and scope

  • Reads only public posts from the named account.
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add virgiliojr94/x-to-skill
新手?先看 mcpskill.org 教程 →