The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
//! Discovery and parsing of agentskills.io-style skills.
//!
//! A skill is a directory containing a `SKILL.md` file with YAML frontmatter
//! (`name`, `description`, …) followed by Markdown instructions. Optional
//! bundled resources live in sibling subdirectories (`scripts/`, `references/`,
//! `assets/`).
//!
//! Skills can be installed at two scopes:
//! - **User**: `~/.openhuman/skills/<name>/` or `~/.agents/skills/<name>/`
//! - **Project**: `<workspace>/.openhuman/skills/<name>/` or
//! `<workspace>/.agents/skills/<name>/`
//!
//! Project-scope skills are only loaded when a trust marker
//! (`<workspace>/.openhuman/trust`) is present. When a skill name collides
//! across scopes, the project-scope copy wins.
//!
//! Legacy `skill.json` manifests and the flat `<workspace>/skills/<name>/`
//! layout are still supported for backward compatibility.
//!
//! ## Module layout
//!
//! | Module | Contents |
//! |---|---|
//! | [`super::ops_types`] | Host sidecar filenames and trust marker |
//! | [`super::ops_discover`] | Scanning root directories, scope resolution, collision handling |
//! | `tinyskills` | Resource inventory and shared bundle parsing |
//! | [`super::ops_create`] | Scaffolding new SKILL.md-based skills on disk |
//! | [`super::ops_install`] | URL-based skill installation over HTTPS |
// Host discovery, creation and installation entry points. Portable metadata
// and parser contracts come directly from `tinyskills`.
pub use super::bundled::install_bundled_skills;
pub use super::ops_create::{create_workflow, CreateWorkflowParams, WorkflowCreateInputDef};
pub use super::ops_discover::{
discover_automations, discover_workflows, is_workspace_trusted, load_workflow_metadata,
load_workflow_metadata_for, read_workflow_resource, read_workflow_resource_for,
};
pub use super::ops_install::{
install_workflow_from_url, uninstall_workflow, validate_install_url, validate_resolved_host,
InstallWorkflowFromUrlOutcome, InstallWorkflowFromUrlParams, UninstallWorkflowOutcome,
UninstallWorkflowParams, DEFAULT_INSTALL_TIMEOUT_SECS, MAX_INSTALL_TIMEOUT_SECS,
MAX_INSTALL_URL_LEN, MAX_WORKFLOW_MD_BYTES,
};
#[cfg(test)]
use {tinyskills::Skill as Workflow, tinyskills::SkillScope as WorkflowScope};
#[cfg(test)]
pub(crate) use super::ops_create::create_workflow_inner;
#[cfg(test)]
pub(crate) use super::ops_discover::discover_workflows_inner;
#[cfg(test)]
pub(crate) use super::ops_install::{
install_workflow_from_url_with_home, normalize_install_url, should_report_install_fetch_status,
};
#[cfg(test)]
pub(crate) use std::path::{Path, PathBuf};
#[cfg(test)]
pub(crate) use {
super::ops_types::TRUST_MARKER, super::ops_types::WORKFLOW_TOML, tinyskills::RESOURCE_DIRS,
tinyskills::SKILL_MD, tinyskills::WORKFLOW_MD,
};
#[cfg(test)]
#[path = "ops_tests.rs"]
mod tests;