@anysiteio/agent-skills 1.2.0 → 1.3.0
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/.claude-plugin/marketplace.json +1 -1
- package/bin/install.js +174 -45
- package/package.json +1 -1
- package/skills/anysite-cli/SKILL.md +434 -178
- package/skills/anysite-cli/references/api-reference.md +73 -8
- package/skills/anysite-cli/references/dataset-guide.md +455 -19
- package/skills/anysite-cli/references/llm-reference.md +274 -0
|
@@ -10,12 +10,12 @@ anysite api <endpoint> [key=value ...] [OPTIONS]
|
|
|
10
10
|
|
|
11
11
|
### Output Options
|
|
12
12
|
```
|
|
13
|
-
--format, -f TEXT json|jsonl|csv|table (default: json)
|
|
13
|
+
--format, -f TEXT json|jsonl|csv|table|parquet (default: json)
|
|
14
14
|
--fields TEXT Comma-separated fields to include (dot-notation supported)
|
|
15
15
|
--exclude TEXT Comma-separated fields to exclude
|
|
16
16
|
--fields-preset TEXT Built-in preset: minimal|contact|recruiting
|
|
17
17
|
--compact Compact JSON (no indentation)
|
|
18
|
-
--output, -o PATH Save to file
|
|
18
|
+
--output, -o PATH Save to file (supports {{date}}/{{datetime}} templates)
|
|
19
19
|
--append Append to existing output file
|
|
20
20
|
--quiet, -q Suppress non-data output (use for piping)
|
|
21
21
|
```
|
|
@@ -53,6 +53,10 @@ anysite api /api/linkedin/company company=anthropic -q | jq '.employee_count'
|
|
|
53
53
|
# Pipe to database
|
|
54
54
|
anysite api /api/linkedin/user user=satyanadella -q --format jsonl \
|
|
55
55
|
| anysite db insert mydb --table profiles --stdin --auto-create
|
|
56
|
+
|
|
57
|
+
# Array/set parameters accept comma-separated values
|
|
58
|
+
anysite api /api/linkedin/google/company keywords=fuzzy.so # auto-wrapped to ["fuzzy.so"]
|
|
59
|
+
anysite api /api/linkedin/google/company keywords=saas,fintech # becomes ["saas","fintech"]
|
|
56
60
|
```
|
|
57
61
|
|
|
58
62
|
---
|
|
@@ -79,7 +83,20 @@ anysite describe --search "company" # Search by keyword
|
|
|
79
83
|
anysite describe --json -q # Machine-readable output
|
|
80
84
|
```
|
|
81
85
|
|
|
82
|
-
Output shows: endpoint path, description, input parameters (name, type, required), output fields (name, type).
|
|
86
|
+
Output shows: endpoint path, description, input parameters (name, type, required), output fields (name, type). Nested objects and arrays are expanded with dot-notation:
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
Output fields (15):
|
|
90
|
+
name string
|
|
91
|
+
urn object
|
|
92
|
+
.type string
|
|
93
|
+
.value string
|
|
94
|
+
experience array[object]
|
|
95
|
+
.title string
|
|
96
|
+
.company_urn string
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Use these dot-notation paths in `--fields`, `dependency.field`, and `db_load.fields`.
|
|
83
100
|
|
|
84
101
|
---
|
|
85
102
|
|
|
@@ -119,15 +136,31 @@ Schema is cached to `~/.anysite/schema.json`. Required for `anysite describe` an
|
|
|
119
136
|
## Global Options
|
|
120
137
|
|
|
121
138
|
```
|
|
122
|
-
--api-key TEXT
|
|
123
|
-
--base-url TEXT
|
|
124
|
-
--debug
|
|
125
|
-
--no-color
|
|
126
|
-
--
|
|
139
|
+
--api-key TEXT Override API key
|
|
140
|
+
--base-url TEXT Override API base URL
|
|
141
|
+
--debug Enable debug output
|
|
142
|
+
--no-color Disable colored output
|
|
143
|
+
--json Force JSON envelope output (auto-enabled in pipes)
|
|
144
|
+
--human Force human-readable output (override auto-JSON in pipes)
|
|
145
|
+
--non-interactive Disable interactive prompts (auto-enabled when stdin is not a TTY)
|
|
146
|
+
--version, -v Show version
|
|
127
147
|
```
|
|
128
148
|
|
|
129
149
|
---
|
|
130
150
|
|
|
151
|
+
## Exit Codes
|
|
152
|
+
|
|
153
|
+
| Code | Meaning |
|
|
154
|
+
|------|---------|
|
|
155
|
+
| 0 | Success |
|
|
156
|
+
| 1 | General error |
|
|
157
|
+
| 2 | Usage error (invalid args, missing params) |
|
|
158
|
+
| 3 | Authentication failed |
|
|
159
|
+
| 4 | Resource not found |
|
|
160
|
+
| 5 | Network / timeout / rate limit |
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
131
164
|
## Common API Endpoints
|
|
132
165
|
|
|
133
166
|
### LinkedIn
|
|
@@ -158,3 +191,35 @@ Schema is cached to `~/.anysite/schema.json`. Required for `anysite describe` an
|
|
|
158
191
|
```
|
|
159
192
|
|
|
160
193
|
Use `anysite describe --search <keyword>` to discover more endpoints.
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## anysite dataset guide
|
|
198
|
+
|
|
199
|
+
Show comprehensive dataset configuration reference with examples.
|
|
200
|
+
|
|
201
|
+
```
|
|
202
|
+
anysite dataset guide [OPTIONS]
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
--section, -s TEXT Show specific section (e.g., sources, llm, db_load)
|
|
207
|
+
--example, -e TEXT Show a complete example config (e.g., basic, advanced)
|
|
208
|
+
--list List available sections and examples
|
|
209
|
+
--json Output as machine-readable JSON
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Examples
|
|
213
|
+
```bash
|
|
214
|
+
anysite dataset guide # full reference
|
|
215
|
+
anysite dataset guide --section sources # source types only
|
|
216
|
+
anysite dataset guide --section llm # LLM enrichment config
|
|
217
|
+
anysite dataset guide --example basic # basic config example
|
|
218
|
+
anysite dataset guide --example advanced # multi-source pipeline
|
|
219
|
+
anysite dataset guide --list # list all sections and examples
|
|
220
|
+
anysite dataset guide --json # structured JSON for agents
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
Available sections: `sources`, `params`, `dependencies`, `llm`, `transform`, `export`, `db_load`, `storage`, `schedule`, `notifications`, `incremental`.
|
|
224
|
+
|
|
225
|
+
Available examples: `basic`, `advanced`, `from_file`, `llm_enrichment`.
|