Should AI Agents Download Skills—or Learn from Trusted APIs?
Should agents download skills or learn from vetted API docs and Git repos? Compare Hermes skill learning with governed, least-privilege skill generation.
Original source and evidence boundaries
Original author-supplied Markdown preserved as a separate source representation; SHA-256 ce9bdff221d9224c2ef0a10167312e132b80163e0d96cc2c7c34a439094710ac. Reported Clawsolator/XMAN alpha milestones are distinguished from roadmap features. This page is technical commentary and does not establish an independent security certification.
The question and the operating answer
The Founder · XERXES SI · November 8, 2026
Is it safe to download OpenClaw skills? Should AI agents learn to write their own skills? Can an agent read a Git repository, understand a Google API, build a FastAPI integration, and perform useful work without installing instructions from an unknown stranger? These are practical questions for anyone who wants autonomous AI to handle files, email, calendars, records, research or business operations.
Our position is straightforward: an agent should first use a small set of audited, minimally privileged capabilities; when it needs more, it should be able to learn from authoritative API documentation and pinned source repositories, propose a narrow procedure, prove that procedure in isolation, and request permission before promotion. A downloaded skill can still be useful. A locally generated skill can still be dangerous. The deciding factor is not where the skill came from—it is who controls its authority, what data it may access, and whether anyone can verify its behavior.
Clawsolator's current alpha and founder-reported work concern deployment, container lifecycle, rootless execution, and external governance through XMAN. A comprehensive skill-learning pipeline, skill-store trust program, heuristic inspector, and source-aware data-loss prevention are proposed extensions, not claims that these safeguards are already shipped and independently validated. Clawsolator's framework-independent strategy and engineering evidence explain the broader direction.
Architecture in one sentence. Clawsolator's original purpose is to manage different agent frameworks and workloads through a common operating contract. Learning from APIs and Git repositories should therefore be portable: the generated procedure must satisfy the same policy whether Hermes, OpenClaw, or another engine produced it.
Illustration: conceptual operating stages, not a screenshot or penetration-test result. Original XERXES SI editorial artwork.
The question behind the skill-store debate
A downloadable skill is not merely an extension icon. In the Agent Skills open format, a skill can contain a SKILL.md file, references, scripts and other resources. It can teach an agent how to sequence actions. Because the agent may interpret those instructions as guidance for its tools, a malicious instruction may influence file access, command execution or network behavior even without a conventional virus binary.
OpenClaw's official skills documentation explicitly warns operators to treat third-party skills as untrusted code; its current security program also uses scanning and installation controls. OpenClaw security status. These protections are genuine improvements. They do not turn every downloaded procedure into a safe operating decision for every user and environment.
In a heavily discussed r/openclaw warning about compromised community skills, a user reported installation behavior that was inconsistent with an expected skill, including suspicious executable instructions. This is an attributed community account, not proof that every skill or the current marketplace is compromised. It illustrates why an agent's authority must not be determined by the prose in a repository it just downloaded.
So why not eliminate the marketplace entirely? Because well-maintained procedures are useful. A reviewed skill can encode specialized knowledge, tricky edge cases, validated API semantics and repeatable workflows. The problem is unexamined trust, not the concept of reusable skills.
Hermes has already demonstrated the next step
Hermes Agent's skills system can create, modify and reuse its own skills. Its /learn workflow can start with local SDK source code, online API documentation, a described procedure or previous successful work, then author an on-demand knowledge document. Hermes provides configurable approval of skill writes and additional skill-content scanning. In other words, the field is already moving from download whatever someone wrote toward learn the procedure from the evidence available.
This deserves credit. It also offers an important warning: the model that generated the skill is not an independent security authority over that skill. An AI may make a logical error, trust a poisoned README, invent a permission it does not possess, or reproduce a harmful instruction from a compromised webpage. Approval of writing a skill is not the same as authorization to use that skill against confidential records.
Hermes should be considered a potential source of skill-learning capability in a broader Clawsolator-managed environment, not something that must be rewritten merely to claim originality.
Perhaps a skill should start with an API contract—not a mystery ZIP
Consider a business that needs an assistant to organize files, send limited notifications, or summarize a queue. Why begin by installing a large, unfamiliar skill package when authoritative API specifications are available?
FastAPI builds on OpenAPI and can expose machine-readable endpoint descriptions and interactive documentation. An agent can inspect the documented methods, request bodies, return types, and declared authentication requirements. It can propose a client that uses precisely the operations the business needs.
Google publishes an API Discovery Service with method descriptions, parameters and authorization scopes. Its Drive API documentation recommends narrow authorization where possible, including drive.file, which can limit access to user-selected files. The Gmail API scope guide distinguishes sending email from reading or modifying an entire mailbox. Access to some scopes may trigger verification and security-assessment obligations; a generated script does not bypass them.
The emerging pattern is valuable: give the agent knowledge of the API without giving the agent possession of unrestricted credentials. Keep OAuth tokens in a trusted broker, bind each approved tool to a specific scope, enforce the actual action outside the agent, and log the outcome without leaking the data.
For example, a trusted service could authorize send_email to one approved recipient, or read_drive_file to a document explicitly shared with the app, without handing the agent a mailbox-wide token or a mounted copy of every file. The agent may draft the request; the security service decides whether it is permitted.
Can a skill simply be a Git repository?
A Git repository can be an excellent source of procedural knowledge, but it should not become an automatically trusted executable skill. Git is a way to version and distribute content, not a certification of harmlessness. A repository may hold API clients, OpenAPI schemas, tests, examples, specifications and SKILL.md files. It may also contain compromised dependencies, hidden instructions, post-install scripts, unsafe default permissions or instructions that are inappropriate for this user's data.
The proposed Clawsolator learning system should treat a repository as a read-only reference until proven otherwise. It should record the source URL, exact commit hash, files examined, dependencies, license, and generated artifacts. Network downloads should be pinned, inspected and reproducible. Dependency manifests and lock files should be audited; GitHub's dependency-graph guidance explains the value of dependency inventories, and its repository security guidance covers code and secret scanning.
The important boundary: reading a repository to understand an API is different from pip install or running the repository's setup script. The latter is a code-execution decision requiring separate review.
What a governed, self-generated skill would look like
Suppose an operator asks: “Read the titles of the three documents I selected in Drive and draft a status email, but don't send anything until I approve it.” A well-designed skill-learning process could:
- Start from a known official Google API reference or a reviewed, version-pinned client SDK rather than search indiscriminately for a downloadable skill.
- Determine exactly which Drive files and OAuth scopes are required. Do not request full Drive access merely because a sample program uses it.
- Draft a procedure that reads only the selected files and creates a local email draft; it does not possess an independent send token.
- Scan generated code and the procedure for suspicious network destinations, unexpected shell execution, credential exposure and unjustified API access.
- Run tests with synthetic files, mock responses and blocked network egress. Check that the agent cannot fetch a fourth document or send the draft without approval.
- Present the code, version-pinned references, declared permissions and tests to an operator or trusted approval service.
- Grant a narrow, revocable execution capability. Record the immutable artifact digest and actual tool calls.
- Keep a one-off skill ephemeral; promote it into a private, curated store only after successful review and real-world monitoring.
This is an architectural proposal, not a statement that Clawsolator already performs every step. It could be applied to skills generated by Hermes, procedures authored by another agent, or carefully selected external skills.
Why a new skill should not be allowed to inspect every confidential file
Now return to the legal-PDF example. The internal source contains a real person's name; the approved external document substitutes a placeholder. A newly learned “PDF and Gmail automation” skill may be perfectly accurate about API syntax and entirely free from malware. It is still unsafe if it can read the original file and transmit it.
The first defense is to deny the sending skill access to the original. Where transformation is required, a trusted sanitization service should produce an approved derivative; a separate export authorization should allow only that derivative to cross the boundary. The authorization should be tied to the exact document digest, user, destination and purpose. A well-behaved language model is not a substitute for these controls.
This distinction is consistent with the OWASP AI Agent Security Cheat Sheet, which emphasizes independent tool authorization, least privilege, safe handling of untrusted input and data-exfiltration protection. Clawsolator's proposed Inspector needs to go beyond recognizing malware patterns and examine what data is accessed, transformed, authorized and released.
A trusted skill store should be a controlled promotion system
A truly useful private store would not merely contain more downloads. It would track approved capabilities:
- Provenance: original documentation, repository, pinned source revision, generated-code digest and identity of the reviewer.
- Declared authority: allowed files, tools, services, scopes, network destinations, data classes and task purposes.
- Evidence: static analysis, heuristic analysis, isolated tests, negative tests, known limitations and expiration or review date.
- Runtime controls: outside-the-model enforcement, credential brokerage, document-release gates, resource limits and event correlation.
- Change management: re-review when the source, dependencies, API contract, skill text or privileges change; rollback and revocation paths.
The store should support a safe, read-only catalog of public examples while keeping approved internal skill versions separate. A passing scan alone is not a deployment permit.
Why Clawsolator rather than another collection of scripts?
The answer cannot be “because nobody else has skills, sandboxes, policies or scanning.” They do. OpenClaw provides a powerful framework and skill ecosystem; Hermes offers learning and self-improvement; NVIDIA OpenShell implements significant independently enforced boundaries. OpenShell's architecture describes kernel-mediated access, supervised network controls, protected credentials and policy checks. These are substantial capabilities and potential building blocks.
Clawsolator's position is that businesses need a coherent deployment and management baseline: permission requests that cannot self-approve, governed runtime boundaries, repeatable image-level updates, durable audit information, and eventually interchangeable frameworks under one control contract. The working update milestone is founder-reported; a complete skill-learning inspector, private skill promotion service, and universal adapters remain to be publicly qualified. The honest question for a customer is not whose feature list is longest—it is whether the assembled operating lifecycle can be demonstrated against the customer's risks.
For a practical framework-neutral perspective, see Clawsolator's architecture statement and the companion Lattice article, “Should We Rewrite the Agentic Stack?” (publication draft in this package).
So should we stop downloading skills?
Stop automatically trusting downloaded skills. Do not stop reusing useful knowledge. Prefer official API contracts, audited SDKs, approved examples and locally generated procedures when that keeps the trust boundary smaller. Use external skills when they offer proven value, but inspect and constrain them just as carefully. Keep generated skills under the same rules.
The opportunity is not an agent that can write anything. The opportunity is an agent that can learn almost anything useful while being authorized to do only what its operator intended.
What should a generated skill actually contain?
The first artifact need not be executable code. It may be a small, reviewed capability recipe: the supported API version, a verified source repository commit, required endpoints, allowed OAuth scopes, schema for inputs and outputs, denied file paths, data classifications, a timeout budget, and tests for both successful and prohibited behavior. When executable code is needed, generate it in an isolated build environment and pin its dependencies rather than fetching mutable code at runtime.
Hermes's official skills documentation describes /learn using URLs, local projects and the active agent, plus the skill_manage save path. That is a meaningful advance and deserves credit. FastAPI's automatic OpenAPI support and Google's API Discovery documents can provide machine-readable contracts. Google's Gmail OAuth scopes also show why being able to understand an API must not automatically confer the widest available permissions.
Consider a customer requesting, “Save the finalized invoice to Drive and email the sanitized copy.” A generated recipe should call only the approved endpoints, read only its assigned working directory, reject the original PDF as an outbound attachment, and record the hash of the exported derivative. A skill downloaded from a public marketplace should face the exact same gates. Generated locally and safe to execute are different propositions.
Clawsolator's current XMAN manager is not yet a universal skill compiler, trusted registry, or DLP engine. The proposed system would maintain a source-pinned recipe library with independently enforced policy and tests. The outcome should be a smaller, reviewable permission surface, not a continuously mutating collection of privileged scripts.
Source links and related reading- Hermes Agent: skills,
/learn, approvals and managed skills - Open Agent Skills format and specification
- OpenClaw's official skills security guidance and OpenClaw security status
- FastAPI features and OpenAPI documentation
- Google API Discovery Service, Drive scopes, and Gmail scopes
- GitHub repository security and analysis
- OWASP AI Agent Security Cheat Sheet
- Community discussion of third-party OpenClaw skill risk
- Clawsolator framework-independent architecture
Editorial qualification: This is a research and design article, not a claim that Clawsolator already ships fully governed self-generated skills, semantic DLP, a mature trusted store, or universal framework adapters. Product comparisons refer to documented capabilities as of November 8, 2026.
Editorial status: OpenClaw and NVIDIA have real upstream protections. Clawsolator's image-aware update milestone and XMAN bounded resource example are founder-reported alpha achievements; Inspector, DLP, IDS, privileged executor and cross-framework adapters are not represented as released or certified.
How AI agents can learn tools without installing unknown skills
Often, yes. A constrained agent can read authoritative API documentation or an OpenAPI description, propose a narrow tool integration, and test it with synthetic data. FastAPI exposes OpenAPI descriptions, and Google documents its APIs and OAuth scopes. Knowing an endpoint or generating code must never grant broader access than the approved credentials and runtime policy allow.
Is an AI-generated skill automatically safer than a downloaded one?No. Generated code can inherit errors, unsafe assumptions or prompt-injected instructions from source material. Treat a locally created skill as a new dependency: pin inputs, inspect dependencies, test in isolation, authorize only necessary resources, and promote reusable procedures through review. Clawsolator's envisioned framework-neutral skill promotion would govern a procedure regardless of whether Hermes, OpenClaw or another agent created it.
Follow the engineering across the XERXES SI ecosystem
The same trust requirements appear elsewhere in the XERXES SI ecosystem: XERXES SI's example of skill-based intelligence, SIDE's standards-first approach to generated code, the Lattice's structured source/provenance design, and Clawsolator's framework-independent operating contract. These links serve different functions: product implementation, engineering principles, operational evidence and knowledge provenance. They do not imply the same controls have been independently validated in each product.
Continue through the agent-security Lattice
- To review downloaded skill exposure, read Are OpenClaw Skills Safe? Why Scanning Alone Is Not Authorization.
- To study the data release gate, read Beyond Malware Scanning: AI Skills, Redacted PDFs and Fraud-Aware Agents.
- To compare integrated frameworks, read NemoClaw Runs Hermes. Should Clawsolator Manage, Merge or Replace Frameworks?.
Publication qualification: Historical issue reports must be checked for current fix status. Clawsolator’s founder-reported managed update and selected XMAN alpha outcomes are not independent security certifications; its advanced skill Inspector, DLP, network IDS and additional framework adapters remain proposed or unqualified unless a specific evidence receipt demonstrates otherwise.
Keep exploring // human pathways
Continue through adjacent ideas, products, principles, and historical lineages. These pathways preserve the relationships in the underlying knowledge graph while keeping exploration natural for a human reader.
Learn how to review OpenClaw and ClawHub skills, why malware scanning is not permission, and how a governed skill lifecycle can reduce risk.
CONTINUE →A clean AI skill can still leak private files. Explore source-aware PDF redaction, runtime data controls and fraud-aware inspection for autonomous agents.
CONTINUE →NVIDIA integrates Hermes with NemoClaw. Explore a framework-neutral manager for multiple agents, common permissions and safe deployment lifecycles.
CONTINUE →How to secure OpenClaw: restrict gateway access, isolate tools, review skills and verify container updates. Learn what Clawsolator has tested and what remains planned.
CONTINUE →