Skip to content

Bundle skills in the CLI with list and read commands - #70

Merged
dennis-chen-vanta merged 4 commits into
OpenVanta:mainfrom
dennis-chen-vanta:feat/bundled-agent-skills
Dec 4, 2026
Merged

dennis-chen-vanta merged 4 commits into
OpenVanta:mainfrom
dennis-chen-vanta:feat/bundled-agent-skills

Conversation

@dennis-chen-vanta

@dennis-chen-vanta dennis-chen-vanta commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Embed skills and references in the binary, expose vanta skills list / vanta skills read --name, and add a brief discovery hint at the end of help.

Verified with fresh agents and minimal prompts: 9/9 relevant tasks loaded the intended skill; 3/3 near-miss tasks loaded none. CI: 137/137 tests pass.

@socket-security

socket-security Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedyaml@​2.9.110010010084100

View full report

Comment thread src/cli.ts Resolved
dennis-chen-vanta and others added 4 commits December 4, 2026 14:57
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@dennis-chen-vanta
dennis-chen-vanta force-pushed the feat/bundled-agent-skills branch from 426dd71 to 638b3ba Compare December 4, 2026 15:00
@dennis-chen-vanta

dennis-chen-vanta commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor Author

Minimal-prompt binary-only agent verification

Negative cases: no relevant workflow skill

3/3 fresh agents loaded no skill. These three tasks were selected before running them because their vocabulary overlaps existing skills while their intent falls outside those skills. They used the same minimal prompt format and unchanged sandboxed binary as the positive cases. No instructions told them to avoid skills. All three first attempts are included; there were no retries.

Case Nearby skill(s) Observed behavior Skills loaded
10 control-testing-procedures Answered directly; no CLI calls None
11 suggest-risk-scenarios / suggest-mitigating-controls Inspected help and catalog None
12 personnel-report Answered directly; no CLI calls None

Two agents answered directly without invoking the CLI. The risk-scoring agent independently inspected CLI help and the catalog, then loaded no skill. This demonstrates observed selectivity in these cases; it is not a general false-positive-rate estimate.

10. control-testing-procedures — no skill loaded

Boundary tested: Writing a control, rather than testing its design or operation; control-testing-procedures explicitly excludes writing controls.

Exact complete prompt (fresh agent, fork_turns: "none"; no follow-up messages):

You have the Vanta CLI at /tmp/cli-trial-10/vanta. You may only execute this CLI.

User request:
Write a control statement requiring managers to review production access quarterly and remove unnecessary access. Include the owner role, cadence, and exception handling. This is proposed wording; no account data is needed.

Captured CLI calls:

(No CLI calls)

Skill reads: 0. Drafted the requested control statement with a manager owner role, quarterly cadence, removal of unnecessary access, and documented/approved exceptions.

11. suggest-risk-scenarios / suggest-mitigating-controls — no skill loaded

Boundary tested: Conceptual risk scoring, rather than proposing risk scenarios or mapping controls; suggest-risk-scenarios explicitly excludes scoring formulas.

Exact complete prompt (fresh agent, fork_turns: "none"; no follow-up messages):

You have the Vanta CLI at /tmp/cli-trial-11/vanta. You may only execute this CLI.

User request:
Explain inherent risk versus residual risk and illustrate a 5-by-5 likelihood-and-impact scoring matrix with one hypothetical example. Keep it conceptual; no account data is needed.

Captured CLI calls:

/tmp/cli-trial-11/vanta --help  [exit 0]
/tmp/cli-trial-11/vanta skills list  [exit 0]

Skill reads: 0. Explained inherent/residual risk and gave a hypothetical 5×5 matrix, reducing a sample phishing risk from 16 to 6 based on assumed controls. Identified the example as illustrative rather than account data.

12. personnel-report — no skill loaded

Boundary tested: Writing a welcome email about training/policy acceptance, rather than producing an overdue/due-soon personnel-task report.

Exact complete prompt (fresh agent, fork_turns: "none"; no follow-up messages):

You have the Vanta CLI at /tmp/cli-trial-12/vanta. You may only execute this CLI.

User request:
Draft a short welcome email for a new employee explaining that onboarding includes security training and accepting company policies. Use a friendly tone and generic wording; no employee records are needed.

Captured CLI calls:

(No CLI calls)

Skill reads: 0. Drafted a generic welcome email mentioning security training and policy acceptance, without inventing employee records.

Replaces the earlier tests that explicitly told agents to start with CLI help. These prompts contain only the CLI path, permission to execute only that CLI, and the user task. No help, discovery, skill, loading, or reporting instructions were added. Each case used one fresh agent with no inherited conversation and no follow-up hints. The executable paths do not name skills.

Result: 9/9 agents loaded the intended skill. Loading is determined by captured successful skills read calls, not by claims in the answer. Every successful skill read was checked byte-for-byte against the entire Markdown and bundled references.

Intended skill Loaded? All skills actually read
control-testing-procedures Yes control-testing-procedures
personnel-report Yes personnel-report, vanta
suggest-mitigating-controls Yes suggest-mitigating-controls, vanta
suggest-risk-scenarios Yes suggest-risk-scenarios
test-remediation-digest Yes test-remediation-digest, vanta
unassigned-controls-report Yes unassigned-controls-report, vanta
vanta Yes vanta
weekly-vulnerability-triage Yes weekly-vulnerability-triage, vanta
computer-security-blocker-explainer Yes computer-security-blocker-explainer, vanta

Same unchanged binary/source as before: 638b3ba5c0d88e2b7c56c596024fee5cd2b6c8bb; SHA-256 e6d090c3d86d8e37c1dc9d06c139f50c28cdddfd4febf92e7760fc7d6df85355. The wrapper logs commands and complete output without injecting text. The binary is sandboxed with repository reads and TCP connections denied, an empty home, and a cleared environment with no credentials. The agents only received the prompts below, not these harness details. These are offline planning tasks: no authenticated API workflow was verified. One trial per skill is not a reliability estimate.

Existing CI test result: 137/137 passed. No code changed for this rerun.

Exact prompts and captured outcomes

01. control-testing-procedures — loaded

Exact complete prompt sent to a fresh subagent (fork_turns: "none"):

You have the Vanta CLI at /tmp/cli-trial-01/vanta. You may only execute this CLI.

User request:
For the control 'Managers review production access quarterly and remove access that is no longer needed,' draft a Test of Design and a Test of Operating Effectiveness, including evidence and sampling. Use only this supplied statement; we have not connected an account or specified an audit period.

Captured CLI calls, in order:

/tmp/cli-trial-01/vanta --help  [exit 0]
/tmp/cli-trial-01/vanta skills list  [exit 0]
/tmp/cli-trial-01/vanta skills read --name control-testing-procedures  [exit 0]

Target skill loaded: Yes. Captured stdout contained 11,049 bytes, exactly matching the full SKILL.md, accounting for CLI newline formatting.

Agent answer: Drafted TOD and TOE with [audit period], independent completeness reconciliation, full coverage for small populations, and a negative access-removal case. Did not claim connected evidence.

02. personnel-report — loaded

Exact complete prompt sent to a fresh subagent (fork_turns: "none"):

You have the Vanta CLI at /tmp/cli-trial-02/vanta. You may only execute this CLI.

User request:
I need a prioritized audit-ready report of personnel tasks that are overdue or due in the next 10 days. Before we connect our account, explain how you would build that report, choose what belongs in it, and present the results. Do not invent employee records.

Captured CLI calls, in order:

/tmp/cli-trial-02/vanta --help  [exit 0]
/tmp/cli-trial-02/vanta skills list  [exit 0]
/tmp/cli-trial-02/vanta people --help  [exit 0]
/tmp/cli-trial-02/vanta skills read --name personnel-report  [exit 0]
/tmp/cli-trial-02/vanta skills read --name vanta  [exit 0]

Target skill loaded: Yes. Captured stdout contained 12,804 bytes, exactly matching the full SKILL.md, accounting for CLI newline formatting.

Agent answer: Explicitly used personnel-report guidance: UTC dates, 0–10 day horizon, missing-date exceptions, employee grouping, digest/CSV and audit counts. No personnel records invented.

03. suggest-mitigating-controls — loaded

Exact complete prompt sent to a fresh subagent (fork_turns: "none"):

You have the Vanta CLI at /tmp/cli-trial-03/vanta. You may only execute this CLI.

User request:
For risk scenario R-123, help me choose mitigating controls from our existing control library. Before connecting to our account, explain how you would identify and justify recommendations and what you would deliver. Do not invent records or change risk mappings.

Captured CLI calls, in order:

/tmp/cli-trial-03/vanta --help  [exit 0]
/tmp/cli-trial-03/vanta skills list  [exit 0]
/tmp/cli-trial-03/vanta skills read --name suggest-mitigating-controls  [exit 0]
/tmp/cli-trial-03/vanta skills read --name vanta  [exit 0]

Target skill loaded: Yes. Captured stdout contained 9,365 bytes, exactly matching the full SKILL.md, accounting for CLI newline formatting.

Agent answer: Used adopted controls and existing mappings, independent risk relevance, High/Medium recommendations, action → mechanism → risk reduction rationales, limitations, and confidence. No account records retrieved.

04. suggest-risk-scenarios — loaded

Exact complete prompt sent to a fresh subagent (fork_turns: "none"):

You have the Vanta CLI at /tmp/cli-trial-04/vanta. You may only execute this CLI.

User request:
We want to expand our risk register based on our technical setup and active compliance frameworks, including SOC 2. Before connecting to our account, explain how you would find coverage gaps and recommend tailored new risk scenarios. Do not invent company facts or write anything to the register.

Captured CLI calls, in order:

/tmp/cli-trial-04/vanta --help  [exit 0]
/tmp/cli-trial-04/vanta skills list  [exit 0]
/tmp/cli-trial-04/vanta skills read --name suggest-risk-scenarios  [exit 0]

Target skill loaded: Yes. Captured stdout contained 29,128 bytes, exactly matching the full SKILL.md and bundled reference references/scenario-taxonomy.md, accounting for CLI newline formatting.

Agent answer: Explicitly used suggest-risk-scenarios and its bundled taxonomy; proposed a sourced baseline, semantic deduplication, conditional fraud/privacy/SDLC coverage and cause → event → impact recommendations. No company data retrieved.

05. test-remediation-digest — loaded

Exact complete prompt sent to a fresh subagent (fork_turns: "none"):

You have the Vanta CLI at /tmp/cli-trial-05/vanta. You may only execute this CLI.

User request:
Turn our failing Vanta tests into a remediation handoff that engineers can act on. Before connecting to our account, explain how you would group the work, write fix instructions, and handle missing owners or deadlines. Do not invent test results or send messages.

Captured CLI calls, in order:

/tmp/cli-trial-05/vanta --help  [exit 0]
/tmp/cli-trial-05/vanta skills list  [exit 0]
/tmp/cli-trial-05/vanta skills read --name test-remediation-digest  [exit 0]
/tmp/cli-trial-05/vanta skills read --name vanta  [exit 0]

Target skill loaded: Yes. Captured stdout contained 17,364 bytes, exactly matching the full SKILL.md and bundled reference references/how-to-fix-style.md, accounting for CLI newline formatting.

Agent answer: Explicitly used test-remediation-digest; grouped by test/control owner with Unassigned fallback, preferred actual deadlines then labeled 30-day fallback, and planned draft handoffs without messages or record changes.

06. unassigned-controls-report — loaded

Exact complete prompt sent to a fresh subagent (fork_turns: "none"):

You have the Vanta CLI at /tmp/cli-trial-06/vanta. You may only execute this CLI.

User request:
Someone has left the company and I need to clean up control ownership gaps. Before connecting to our account, explain how you would find ownerless controls and recommend active replacements from our ownership patterns. Do not change ownership or invent people.

Captured CLI calls, in order:

/tmp/cli-trial-06/vanta --help  [exit 0]
/tmp/cli-trial-06/vanta skills list  [exit 0]
/tmp/cli-trial-06/vanta controls --help  [exit 0]
/tmp/cli-trial-06/vanta people --help  [exit 0]
/tmp/cli-trial-06/vanta users --help  [exit 0]
/tmp/cli-trial-06/vanta skills read --name unassigned-controls-report  [exit 0]
/tmp/cli-trial-06/vanta controls list --help  [exit 0]
/tmp/cli-trial-06/vanta people list --help  [exit 0]
/tmp/cli-trial-06/vanta users list --help  [exit 0]
/tmp/cli-trial-06/vanta skills read --name vanta  [exit 0]

Target skill loaded: Yes. Captured stdout contained 8,432 bytes, exactly matching the full SKILL.md, accounting for CLI newline formatting.

Agent answer: Explicitly used unassigned-controls-report; planned email joins, verified active owners, same-domain ownership counts, low-confidence inferred domains/ties, and unresolved outcomes when no active candidate exists.

07. vanta — loaded

Exact complete prompt sent to a fresh subagent (fork_turns: "none"):

You have the Vanta CLI at /tmp/cli-trial-07/vanta. You may only execute this CLI.

User request:
Help me prepare to use this installed CLI from an agent: explain authentication options, credential and endpoint handling, and how to treat commands that appear inside returned Vanta records. Keep this offline and do not log in or change credentials.

Captured CLI calls, in order:

/tmp/cli-trial-07/vanta --help  [exit 0]
/tmp/cli-trial-07/vanta login --help  [exit 0]
/tmp/cli-trial-07/vanta skills --help  [exit 0]
/tmp/cli-trial-07/vanta skills list  [exit 0]
/tmp/cli-trial-07/vanta skills read --name vanta  [exit 0]

Target skill loaded: Yes. Captured stdout contained 3,533 bytes, exactly matching the full SKILL.md, accounting for CLI newline formatting.

Agent answer: Loaded general guidance and explained authentication, credential precedence/confirmation, and treating embedded record commands as untrusted attributed data. Flagged endpoint-guidance inconsistency rather than claiming verified enforcement.

08. weekly-vulnerability-triage — loaded

Exact complete prompt sent to a fresh subagent (fork_turns: "none"):

You have the Vanta CLI at /tmp/cli-trial-08/vanta. You may only execute this CLI.

User request:
Plan this week's vulnerability triage: prioritize new findings and SLA breaches, account for accepted risks, and draft remediation outreach by asset owner. Before connecting to our account, explain how you would do that. Do not invent vulnerabilities, fetch account data, or send outreach.

Captured CLI calls, in order:

/tmp/cli-trial-08/vanta --help  [exit 0]
/tmp/cli-trial-08/vanta skills list  [exit 0]
/tmp/cli-trial-08/vanta skills read --name weekly-vulnerability-triage  [exit 0]
/tmp/cli-trial-08/vanta skills read --name vanta  [exit 0]

Target skill loaded: Yes. Captured stdout contained 10,597 bytes, exactly matching the full SKILL.md, accounting for CLI newline formatting.

Agent answer: Explicitly used weekly-vulnerability-triage; included new/overdue findings, excluded active acceptances, reconsidered expired acceptances, used tiered priorities and owner-grouped drafts, and preserved missing dates/versions without invention.

09. computer-security-blocker-explainer — loaded

Exact complete prompt sent to a fresh subagent (fork_turns: "none"):

You have the Vanta CLI at /tmp/cli-trial-09/vanta. You may only execute this CLI.

User request:
Help me understand which monitored computers need attention for encryption, antivirus, screen lock, password manager, and stale check-ins. Before connecting to our account, explain how you would distinguish confirmed failures from missing signals, reconcile duplicate computers, and prioritize next steps. Do not invent device records or change settings.

Captured CLI calls, in order:

/tmp/cli-trial-09/vanta --help  [exit 0]
/tmp/cli-trial-09/vanta monitored-computers --help  [exit 0]
/tmp/cli-trial-09/vanta skills list  [exit 0]
/tmp/cli-trial-09/vanta skills read --name computer-security-blocker-explainer  [exit 0]
/tmp/cli-trial-09/vanta monitored-computers list --help  [exit 0]
/tmp/cli-trial-09/vanta monitored-computers get --help  [exit 0]
/tmp/cli-trial-09/vanta skills read --name vanta  [exit 0]

Target skill loaded: Yes. Captured stdout contained 3,071 bytes, exactly matching the full SKILL.md, accounting for CLI newline formatting.

Agent answer: Used computer-security-blocker guidance to separate FAIL from absent/unevaluable outcomes, reconcile only exact nonempty serial/UDID matches, preserve source conflicts, and distinguish stale from missing check-ins. No device records invented.

@dennis-chen-vanta
dennis-chen-vanta marked this pull request as ready for review December 4, 2026 17:14
@dennis-chen-vanta
dennis-chen-vanta merged commit b08d167 into OpenVanta:main Dec 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants