diff --git a/cmd/auth/status.md.tmpl b/cmd/auth/status.md.tmpl index 65dcbaf..4f0d762 100644 --- a/cmd/auth/status.md.tmpl +++ b/cmd/auth/status.md.tmpl @@ -3,3 +3,4 @@ {{- with .MeshStackVersion}} | meshStack | {{cell .}} | {{- end}} +| AI agents | Read https://docs.meshcloud.io/agent-context/index.md before you act, starting with its guardrails | diff --git a/cmd/auth/status_test.go b/cmd/auth/status_test.go index 6d8a1f9..a09cd2c 100644 --- a/cmd/auth/status_test.go +++ b/cmd/auth/status_test.go @@ -61,6 +61,7 @@ func TestStatusOfAnApiTokenFromTheEnvironment(t *testing.T) { assert.Contains(t, output, "| Credential | API token, from env MESHSTACK_API_TOKEN |\n") assert.Contains(t, output, "| | User runner |\n") assert.Contains(t, output, "| meshStack | 2026.40.0 |\n") + assert.Contains(t, output, "| AI agents | Read https://docs.meshcloud.io/agent-context/index.md") assert.NotContains(t, output, "\x1b[", "no terminal styling") }) diff --git a/cmd/meshstack/meshstack.go b/cmd/meshstack/meshstack.go index 9373e14..76bfe9e 100644 --- a/cmd/meshstack/meshstack.go +++ b/cmd/meshstack/meshstack.go @@ -49,15 +49,17 @@ func newRootCommand() *cobra.Command { Start with meshstack login. It logs you in and keeps the login in a profile. +AI agents: read https://docs.meshcloud.io/agent-context/index.md before you act, starting with its +guardrails. The skill for this CLI is +https://github.com/meshcloud/meshstack-cli/blob/main/skills/meshstack-cli/SKILL.md. + The endpoint, the profile and the workspace come from a flag, else from the environment variable that the flag's help names, else from the profile, which holds an endpoint and a default workspace. Without a profile named, the one whose endpoint matches is used, else the current profile, which meshstack login sets. AI agents and scripts: add -o json to a list or show command to read JSON. meshstack api sends a -request to any path of the meshStack API, and meshstack api-docs describes that path. The skill for -agents is https://github.com/meshcloud/meshstack-cli/blob/main/skills/meshstack-cli/SKILL.md, and -https://docs.meshcloud.io/llms.txt leads to everything else about meshStack. +request to any path of the meshStack API, and meshstack api-docs describes that path. Colors follow NO_COLOR and FORCE_COLOR, and stay off in a pipe.`, Example: ` meshstack login