ntion 0.1.0 → 0.1.3
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/README.md +9 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ntion
|
|
2
2
|
|
|
3
3
|
Token-efficient Notion CLI built for AI agents like Claude Code and Codex.
|
|
4
4
|
|
|
@@ -35,6 +35,14 @@ A single "get all my tasks" workflow tells the whole story:
|
|
|
35
35
|
2. **No schema bloat** — MCP's database fetch includes ~2 KB of SQLite DDL, ~800 B of XML boilerplate, and ~1.4 KB of base64 `collectionPropertyOption://` URLs that are never used for reads. ntion returns only actionable data.
|
|
36
36
|
3. **Markdown-first** — Page content defaults to markdown, matching what agents actually consume. No manual format negotiation needed.
|
|
37
37
|
|
|
38
|
+
## Agent skill
|
|
39
|
+
|
|
40
|
+
ntion ships with an [agent skill](https://docs.anthropic.com/en/docs/claude-code/skills) that teaches AI agents how to use the CLI. Install it with:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npx skills add https://github.com/mbroton/notion-cli --skill ntion-cli
|
|
44
|
+
```
|
|
45
|
+
|
|
38
46
|
## Install
|
|
39
47
|
|
|
40
48
|
```bash
|
package/dist/cli.js
CHANGED
|
@@ -262,7 +262,7 @@ program
|
|
|
262
262
|
.addHelpText("after", ROOT_HELP_EPILOG);
|
|
263
263
|
program
|
|
264
264
|
.command("auth")
|
|
265
|
-
.description("Configure authentication")
|
|
265
|
+
.description("Configure authentication (get your token at https://www.notion.so/profile/integrations)")
|
|
266
266
|
.option("--token <secret>", "Notion integration token (direct)")
|
|
267
267
|
.option("--token-env <name>", "API key environment variable name (CI)")
|
|
268
268
|
.option("--pretty", "pretty-print JSON output")
|