pub struct SkillsConfig {
pub search: Vec<String>,
pub bundled_dir: String,
}Expand description
The skill discovery search path: an ordered list of directories newt
scans for agentskills.io-format SKILL.md folders.
A skill is the same folder in every harness, so cross-harness use is just a
matter of pointing newt at the directories — list ~/.claude/skills,
~/.codex/skills, a project-local .skills/, whatever — and their skills
become visible with no copying. The list is open-ended on purpose: there is
no hard-coded knowledge of any particular harness. Earlier entries win on a
name collision.
Example ~/.newt/config.toml:
[skills]
search = ["~/.newt/skills", "~/.claude/skills", "~/.codex/skills"]Fields§
§search: Vec<String>Ordered directories to scan for skills. Empty → ~/.newt/skills.
~/ is expanded to $HOME.
bundled_dir: StringDirectory of bundled skills shipped with newt-agent. Scanned after the
user’s search paths — i.e. at the lowest priority — so a user skill
of the same name shadows the bundled one (earlier directories win a
collision; see newt_skills::discover_paths). Empty → no bundled
directory is scanned. ~/ is expanded to $HOME.
Trait Implementations§
Source§impl Clone for SkillsConfig
impl Clone for SkillsConfig
Source§fn clone(&self) -> SkillsConfig
fn clone(&self) -> SkillsConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SkillsConfig
impl Debug for SkillsConfig
Source§impl Default for SkillsConfig
impl Default for SkillsConfig
Source§fn default() -> SkillsConfig
fn default() -> SkillsConfig
Source§impl<'de> Deserialize<'de> for SkillsConfigwhere
SkillsConfig: Default,
impl<'de> Deserialize<'de> for SkillsConfigwhere
SkillsConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for SkillsConfig
Source§impl PartialEq for SkillsConfig
impl PartialEq for SkillsConfig
Source§impl Serialize for SkillsConfig
impl Serialize for SkillsConfig
impl StructuralPartialEq for SkillsConfig
Auto Trait Implementations§
impl Freeze for SkillsConfig
impl RefUnwindSafe for SkillsConfig
impl Send for SkillsConfig
impl Sync for SkillsConfig
impl Unpin for SkillsConfig
impl UnsafeUnpin for SkillsConfig
impl UnwindSafe for SkillsConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more