insightfulpipe 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SKILL.md ADDED
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: insightfulpipe
3
+ description: Query and manage marketing data across 40+ platforms — Google Analytics, Google Ads, Facebook Ads, Instagram, Shopify, HubSpot, Klaviyo, TikTok, LinkedIn, and more.
4
+ homepage: https://insightfulpipe.com
5
+ metadata: {"clawdbot":{"emoji":"📊","requires":{"bins":[],"env":["INSIGHTFULPIPE_TOKEN"]}}}
6
+ ---
7
+
8
+ ## Install InsightfulPipe if it doesn't exist
9
+
10
+ ```bash
11
+ npm install -g insightfulpipe
12
+ ```
13
+
14
+ npm release: https://www.npmjs.com/package/insightfulpipe
15
+
16
+ ---
17
+
18
+ | Property | Value |
19
+ |----------|-------|
20
+ | **name** | insightfulpipe |
21
+ | **description** | Query marketing data across analytics, ads, social, ecommerce, and SEO platforms |
22
+ | **allowed-tools** | Bash(insightfulpipe:*) |
23
+
24
+ ---
25
+
26
+ ## Core Workflow
27
+
28
+ 1. **Authenticate** — Set your API token
29
+ 2. **Discover** — List platforms and available actions
30
+ 3. **Schema** — Get the exact request body for an action
31
+ 4. **Query** — Execute read operations (reports, analytics, listings)
32
+ 5. **Execute** — Execute write operations (create, update, delete, publish)
33
+
34
+ ```bash
35
+ # 1. Authenticate
36
+ export INSIGHTFULPIPE_TOKEN=ip_sk_your_token
37
+ # or
38
+ insightfulpipe auth
39
+
40
+ # 2. Discover
41
+ insightfulpipe platforms
42
+ insightfulpipe accounts --platform <platform> --json
43
+ insightfulpipe helper <platform>
44
+
45
+ # 3. Schema
46
+ insightfulpipe helper <platform> --actions <action1>,<action2>
47
+
48
+ # 4. Query (read)
49
+ insightfulpipe query <platform> -b '{"action":"...","workspace_id":...,"brand_id":...}'
50
+
51
+ # 5. Execute (write)
52
+ insightfulpipe action <platform> -b '{"action":"..."}' --yes
53
+ ```
54
+
55
+ ## Key Rules
56
+
57
+ - **Never guess the request body** — always call `helper <platform> --actions <action>` first to get the exact schema.
58
+ - **Replace "xxx" placeholders** with real values from `accounts --platform <platform> --json`.
59
+ - **Use `query`** for read operations (reports, analytics, metrics, listings).
60
+ - **Use `action`** for write operations (create, update, delete, publish, send). Requires `--yes` in non-interactive mode.
61
+
62
+ ## Other Commands
63
+
64
+ ```bash
65
+ insightfulpipe platforms # All supported platforms
66
+ insightfulpipe sources --platform X # Connected sources with IDs
67
+ insightfulpipe prompts <platform> # Prompt templates
68
+ insightfulpipe brands --workspace ID # Brand metadata
69
+ insightfulpipe whoami # Current user
70
+ insightfulpipe doctor # Check auth and connectivity
71
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "insightfulpipe",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "InsightfulPipe CLI — query your marketing data from the terminal",
5
5
  "bin": {
6
6
  "insightfulpipe": "bin/cli.js"
@@ -8,9 +8,11 @@
8
8
  "files": [
9
9
  "bin/",
10
10
  "src/",
11
+ "skills/",
11
12
  "README.md",
12
13
  "CHANGELOG.md",
13
14
  "SECURITY.md",
15
+ "SKILL.md",
14
16
  "LICENSE"
15
17
  ],
16
18
  "type": "module",
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: insightfulpipe
3
+ description: Query and manage marketing data across 40+ platforms — Google Analytics, Google Ads, Facebook Ads, Instagram, Shopify, HubSpot, Klaviyo, TikTok, LinkedIn, and more.
4
+ homepage: https://insightfulpipe.com
5
+ metadata: {"clawdbot":{"emoji":"📊","requires":{"bins":[],"env":["INSIGHTFULPIPE_TOKEN"]}}}
6
+ ---
7
+
8
+ ## Install InsightfulPipe if it doesn't exist
9
+
10
+ ```bash
11
+ npm install -g insightfulpipe
12
+ ```
13
+
14
+ npm release: https://www.npmjs.com/package/insightfulpipe
15
+
16
+ ---
17
+
18
+ | Property | Value |
19
+ |----------|-------|
20
+ | **name** | insightfulpipe |
21
+ | **description** | Query marketing data across analytics, ads, social, ecommerce, and SEO platforms |
22
+ | **allowed-tools** | Bash(insightfulpipe:*) |
23
+
24
+ ---
25
+
26
+ ## Core Workflow
27
+
28
+ 1. **Authenticate** — Set your API token
29
+ 2. **Discover** — List platforms and available actions
30
+ 3. **Schema** — Get the exact request body for an action
31
+ 4. **Query** — Execute read operations (reports, analytics, listings)
32
+ 5. **Execute** — Execute write operations (create, update, delete, publish)
33
+
34
+ ```bash
35
+ # 1. Authenticate
36
+ export INSIGHTFULPIPE_TOKEN=ip_sk_your_token
37
+ # or
38
+ insightfulpipe auth
39
+
40
+ # 2. Discover
41
+ insightfulpipe platforms
42
+ insightfulpipe accounts --platform <platform> --json
43
+ insightfulpipe helper <platform>
44
+
45
+ # 3. Schema
46
+ insightfulpipe helper <platform> --actions <action1>,<action2>
47
+
48
+ # 4. Query (read)
49
+ insightfulpipe query <platform> -b '{"action":"...","workspace_id":...,"brand_id":...}'
50
+
51
+ # 5. Execute (write)
52
+ insightfulpipe action <platform> -b '{"action":"..."}' --yes
53
+ ```
54
+
55
+ ## Key Rules
56
+
57
+ - **Never guess the request body** — always call `helper <platform> --actions <action>` first to get the exact schema.
58
+ - **Replace "xxx" placeholders** with real values from `accounts --platform <platform> --json`.
59
+ - **Use `query`** for read operations (reports, analytics, metrics, listings).
60
+ - **Use `action`** for write operations (create, update, delete, publish, send). Requires `--yes` in non-interactive mode.
61
+
62
+ ## Other Commands
63
+
64
+ ```bash
65
+ insightfulpipe platforms # All supported platforms
66
+ insightfulpipe sources --platform X # Connected sources with IDs
67
+ insightfulpipe prompts <platform> # Prompt templates
68
+ insightfulpipe brands --workspace ID # Brand metadata
69
+ insightfulpipe whoami # Current user
70
+ insightfulpipe doctor # Check auth and connectivity
71
+ ```