@agentscli-labs/cli 0.0.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/LICENSE +21 -0
- package/README.md +39 -0
- package/dist/index.js +38 -0
- package/package.json +39 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Sourabh Kushwah and Sanjay Kushwah
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# agentscli
|
|
2
|
+
|
|
3
|
+
Context engineering for AI coding agents.
|
|
4
|
+
|
|
5
|
+
AI coding agents are capable but contextless — they don't know your codebase, your conventions, or your team. `agentscli` closes that gap: generate the context files your agent needs, audit what you have, and measure that it actually helps.
|
|
6
|
+
|
|
7
|
+
## Status
|
|
8
|
+
|
|
9
|
+
Early. This release claims the package and points at the documentation while the first commands land.
|
|
10
|
+
|
|
11
|
+
Planned commands:
|
|
12
|
+
|
|
13
|
+
| Command | What it does |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| `rules gen` | Detect your stack and generate a curated `AGENTS.md` |
|
|
16
|
+
| `rules audit` | Find stale, conflicting, or unused rules in your context files |
|
|
17
|
+
| `eval` | Measure whether your context files actually improve agent results |
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npx @agentscli-labs/cli
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Installed globally (`npm i -g @agentscli-labs/cli`), the command is just `agentscli`.
|
|
26
|
+
|
|
27
|
+
Prints what's coming and where to learn the practice today.
|
|
28
|
+
|
|
29
|
+
## Learn the practice now
|
|
30
|
+
|
|
31
|
+
The techniques the CLI automates are documented in full — free, no signup:
|
|
32
|
+
|
|
33
|
+
- **Foundations** — spec-level reference for every agent primitive (rules, skills, MCP, hooks, subagents, permissions, …): https://www.agentscli.com/foundations/
|
|
34
|
+
- **Courses** — learn-by-doing courses for Claude Code, Codex, GitHub Copilot, Cursor, opencode, and Pi: https://www.agentscli.com/course/
|
|
35
|
+
- **Blog** — ideas and worked examples in context engineering: https://www.agentscli.com/blog/
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
MIT
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from "node:module";
|
|
3
|
+
const require = createRequire(import.meta.url);
|
|
4
|
+
const { version } = require("../package.json");
|
|
5
|
+
const args = process.argv.slice(2);
|
|
6
|
+
const BANNER = `
|
|
7
|
+
agentscli v${version}
|
|
8
|
+
|
|
9
|
+
Context engineering for AI coding agents.
|
|
10
|
+
|
|
11
|
+
Your coding agent is capable but contextless — it doesn't know
|
|
12
|
+
your codebase, your conventions, or your team. agentscli closes
|
|
13
|
+
that gap: generate the context files your agent needs, audit
|
|
14
|
+
what you have, and measure that it actually helps.
|
|
15
|
+
|
|
16
|
+
Commands (shipping soon):
|
|
17
|
+
|
|
18
|
+
rules gen Detect your stack, generate a curated AGENTS.md
|
|
19
|
+
rules audit Find stale, conflicting, or unused rules
|
|
20
|
+
eval Measure whether your context files improve results
|
|
21
|
+
|
|
22
|
+
Until then, the practice is documented — free, no signup:
|
|
23
|
+
|
|
24
|
+
Foundations https://www.agentscli.com/foundations/
|
|
25
|
+
Courses https://www.agentscli.com/course/
|
|
26
|
+
Blog https://www.agentscli.com/blog/
|
|
27
|
+
`;
|
|
28
|
+
if (args.includes("--version") || args.includes("-v")) {
|
|
29
|
+
console.log(version);
|
|
30
|
+
}
|
|
31
|
+
else if (args.length > 0 && !args.includes("--help") && !args.includes("-h")) {
|
|
32
|
+
console.log(BANNER);
|
|
33
|
+
console.log(` "${args.join(" ")}" isn't available yet — watch https://www.agentscli.com for the release.\n`);
|
|
34
|
+
process.exitCode = 1;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
console.log(BANNER);
|
|
38
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agentscli-labs/cli",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Context engineering CLI for AI coding agents — generate, audit, and measure the context your agent works with. First command shipping soon.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"coding-agents",
|
|
8
|
+
"context-engineering",
|
|
9
|
+
"agents-md",
|
|
10
|
+
"claude-code",
|
|
11
|
+
"codex",
|
|
12
|
+
"copilot",
|
|
13
|
+
"cli"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://www.agentscli.com",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"author": "Sourabh Kushwah and Sanjay Kushwah (https://www.agentscli.com)",
|
|
18
|
+
"type": "module",
|
|
19
|
+
"bin": {
|
|
20
|
+
"agentscli": "dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=18"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "tsc",
|
|
33
|
+
"prepublishOnly": "npm run build"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@types/node": "^26.1.1",
|
|
37
|
+
"typescript": "^5.6.0"
|
|
38
|
+
}
|
|
39
|
+
}
|