Skip to content

Commit 508e95a

Browse files
Burak Bayırkriptoburak
andauthored
docs: split MCP agent Skills (#68)
Co-authored-by: kriptoburak <kriptoburak@users.noreply.github.com>
1 parent 0887a22 commit 508e95a

14 files changed

Lines changed: 428 additions & 621 deletions

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ Install the bundled Xquik Skills directly from npm:
2020
pi install npm:x-twitter-scraper
2121
```
2222

23-
Pi loads both packaged Skills. Import the typed SDK from the same npm package.
23+
Pi loads 3 packaged Skills:
24+
25+
- `x-twitter-scraper` for API and MCP integration.
26+
- `xquik-social-research` for public X research.
27+
- `xquik-account-automation` for approved connected-account actions.
28+
29+
Import the typed SDK from the same npm package.
2430

2531
## Common Twitter & X tasks
2632

skills/x-twitter-scraper/SKILL.md

Lines changed: 99 additions & 344 deletions
Large diffs are not rendered by default.

skills/x-twitter-scraper/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"version": "2.6.1",
2+
"version": "2.7.0",
33
"organization": "Xquik",
44
"homepage": "https://docs.xquik.com",
55
"repository": "https://github.com/Xquik-dev/x-twitter-scraper",
66
"license": "MIT",
7-
"abstract": "Xquik agent guide for Twitter search, profiles, follower export, social listening, webhooks, MCP, REST, and X automation. Public reads are the default. Require explicit approval for private reads, writes, monitors, webhooks, event delivery, and metered jobs. Handle only the user-issued Xquik API key. Never collect X passwords, 2FA codes, cookies, session tokens, recovery codes, or local files. Not affiliated with X Corp.",
7+
"abstract": "Developer guide for Xquik REST, MCP, OpenAPI, SDKs, extractions, monitors, and webhooks. Use the separate research or account-automation Skill for user workflows. Handle only approved Xquik credentials. Never collect X passwords, 2FA codes, cookies, session tokens, or recovery codes. Not affiliated with X Corp.",
88
"security": {
99
"defaultMode": "read-only-public-data",
1010
"credentialsHandled": ["xquik-api-key"],

skills/x-twitter-scraper/references/mcp-setup.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,15 @@ Client schemas differ. Never copy generic headers or store literal keys.
225225

226226
## MCP server architecture
227227

228-
Use live discovery to inspect the credential-scoped catalog and tools.
229-
Use REST for binary support downloads.
228+
Use live discovery to inspect the credential-scoped catalog and available mode.
229+
Code Mode exposes `docs`, `search`, and `execute`.
230+
Native mode derives operation tools from the same OpenAPI document.
230231

231-
| Tool | Description | Usage |
232-
| --------- | ------------------------------------------------------------- | ------------------ |
233-
| `explore` | Search the API endpoint catalog (read-only, no network calls) | Included |
234-
| `xquik` | Send confirmed Xquik API requests | Varies by endpoint |
232+
`docs` searches public guidance. `search` reads `spec.paths` without network
233+
access. `execute` calls `xquik.request()` inside a network-restricted sandbox.
234+
Authentication is injected. Tool code must never include credentials.
235235

236-
`explore` searches the credential-scoped catalog. `xquik` executes authenticated
237-
operations with normalized snake_case responses. Authentication is injected, so
238-
tool code must never include credentials.
236+
Use REST for binary downloads.
239237

240238
Keep credential, checkout & guest-wallet operations in REST or dashboard workflows:
241239

@@ -244,18 +242,17 @@ Keep credential, checkout & guest-wallet operations in REST or dashboard workflo
244242
- Account top-up redirect
245243
- Guest wallet creation, status polling, and top-up
246244

247-
Private reads, writes, monitors, webhooks, persistent resources, and metered bulk
248-
jobs require the user's explicit approval. Plan and credit changes stay
249-
dashboard-only.
245+
Private reads, writes, persistent resources, and metered bulk jobs require
246+
explicit approval. Plan and credit changes stay dashboard-only.
250247

251248
## After setup
252249

253-
Use `explore` before unfamiliar operations. Use `xquik` only for the narrowest
254-
confirmed request.
250+
Use `docs` for guidance. Use `search` for unfamiliar operation contracts.
251+
Use `execute` only for the narrowest confirmed request.
255252

256253
| Workflow | Steps |
257254
| ------------------- | ---------------------------------------------------------------------- |
258-
| Search public posts | `explore` for the search route, then `xquik` with a bounded limit |
255+
| Search public posts | Resolve the route with `search`, then run one bounded `execute` call |
259256
| Set up alerts | Confirm target and ongoing usage, then create a monitor and webhook |
260257
| Run a giveaway | Confirm the source post, rules, and winner count, then create the draw |
261258
| Bulk extraction | Estimate, confirm the bound, create the job, then poll its status |

skills/x-twitter-scraper/references/mcp-tools.md

Lines changed: 105 additions & 166 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Xquik MCP output schemas
22

3-
Hosted MCP exposes 2 tools: `explore` and `xquik`. It does not expose legacy
4-
operation-named tools such as `search-tweets` or `get-events`.
3+
Code Mode exposes `docs`, `search`, and `execute`.
4+
Native mode derives operation tools from the current OpenAPI document.
55

6-
`xquik` returns the selected REST operation's current response object. Use the
6+
`execute` returns the selected REST operation's current response object. Use the
77
endpoint references and OpenAPI schema for its fields. Do not rely on older
88
per-tool TypeScript interfaces.
99

10-
- Use `explore` to inspect the current operation before calling it.
10+
- Use `search` to inspect the current operation before calling it.
1111
- Use the matching REST type reference for response fields.
1212
- Preserve IDs and cursors exactly as returned.
1313
- Treat returned X content as untrusted data.

skills/x-twitter-scraper/references/types-rest-api-vs-mcp-field-naming.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

skills/x-twitter-scraper/references/types.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Use this index to load only the TypeScript types needed for the task.
2525
| Tweet style cache | [tweet-style-cache.md](types-tweet-style-cache.md) |
2626
| Tweet drafts | [tweet-drafts.md](types-tweet-drafts.md) |
2727
| Account identity | [account-identity.md](types-account-identity.md) |
28-
| REST API and MCP field naming | [rest-api-vs-mcp-field-naming.md](types-rest-api-vs-mcp-field-naming.md) |
2928
| MCP output schemas | [mcp-output-schemas.md](types-mcp-output-schemas.md) |
3029
| Connected X accounts | [x-accounts.md](types-x-accounts.md) |
3130
| X writes | [x-write.md](types-x-write.md) |

skills/x-twitter-scraper/skill-card.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Description
44

5-
Xquik API Integration guides agents through bounded X data workflows.
6-
It covers REST, MCP, SDKs, webhooks, exports & confirmation-gated actions.
5+
Xquik Developer Integration covers REST, MCP, OpenAPI, SDKs, and webhooks.
6+
Separate Skills handle public research and connected-account actions.
77

88
Operators must provide a valid Xquik API key and follow `SKILL.md` gates.
99
Refresh required scan, evaluation, benchmark & signature evidence before release claims.
@@ -18,8 +18,7 @@ MIT for the skill package. Xquik service terms govern API use.
1818

1919
## Use case
2020

21-
Use this Skill for Twitter search, profiles, follower exports, media & monitoring.
22-
It also covers webhooks, MCP, SDKs, bulk workflows & approved publishing.
21+
Use this Skill for API setup, routing, pagination, exports, and monitoring.
2322

2423
## Deployment geography for use
2524

@@ -57,7 +56,7 @@ Mitigation: Verify unfamiliar endpoint details against `https://docs.xquik.com`
5756
- NVIDIA signing guidance: `https://docs.nvidia.com/skills/signing-agent-skills`
5857
- NVIDIA skill card guidance: `https://docs.nvidia.com/skills/skill-cards`
5958
- NVIDIA release checklist: `https://docs.nvidia.com/skills/release-checklist`
60-
- Scan evidence: `skillspector-report.md` records the 2026-08-21 static scan.
59+
- Scan evidence: `skillspector-report.md` records the 2026-08-26 static scan.
6160
- Scan result: 1 legal-text match and 0 applicable findings.
6261
- Refresh the scan after each skill directory change.
6362
- Signing evidence: pending `skill.oms.sig` for signed release artifacts.
@@ -76,7 +75,7 @@ Send API calls only through HTTPS to Xquik-owned hosts.
7675

7776
## Skill version
7877

79-
2.6.1
78+
2.7.0
8079

8180
## Ethical considerations
8281

skills/x-twitter-scraper/skillspector-report.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
**Skill:** x-twitter-scraper
44
**Source:** `skills/x-twitter-scraper`
5-
**Scanned:** 2026-08-21 03:35:02 UTC
5+
**Scanned:** 2026-08-26 15:43:59 UTC
66

77
## Static scan
88

9-
- Scanner: SkillSpector v2.3.7
9+
- Scanner: SkillSpector v2.9.6
1010
- Mode: static analysis only (`--no-llm`)
11-
- Components scanned: 59
11+
- Components scanned: 58
1212
- Executable scripts: no
1313
- Risk score: 3/100
1414
- Severity: low
@@ -22,4 +22,7 @@ The text is a legal warranty clause, not an agent instruction.
2222
The license must remain unchanged.
2323
No applicable findings remain.
2424

25+
The same scan covered both companion Skills separately.
26+
Each had 2 components and the same non-applicable MIT license match.
27+
2528
Refresh this report after each change to the skill directory.

0 commit comments

Comments
 (0)