pub struct SkillsConfig {
pub bundled: BundledSkillsConfig,
pub listing_max_description_chars: Option<usize>,
pub listing_budget_fraction: Option<f64>,
pub registry_url: Option<String>,
pub max_install_size_bytes: Option<u64>,
pub scan_codewhale_only: Option<bool>,
pub flat_workspace_root: Option<bool>,
pub creator_skills: bool,
}Expand description
[skills] table — discovery, ambient index and installer configuration.
Fields§
§bundled: BundledSkillsConfig§listing_max_description_chars: Option<usize>§listing_budget_fraction: Option<f64>§registry_url: Option<String>Curated registry index. /skill install <name> looks up the spec here.
Defaults to codewhale_skill_install::install::DEFAULT_REGISTRY_URL.
max_install_size_bytes: Option<u64>Per-skill maximum uncompressed size in bytes. Tarballs that exceed this limit are rejected during validation. Defaults to 5 MiB.
scan_codewhale_only: Option<bool>When true, skill discovery scans only Codewhale-owned skill roots
(plus any explicit skills_dir) instead of importing compatible
directories from other AI tools such as Claude, OpenCode, or Cursor.
flat_workspace_root: Option<bool>Opt in to discovery from <workspace>/skills after workspace trust.
Otherwise the flat root is visible only to compatible audit.
creator_skills: boolImplementations§
Source§impl SkillsConfig
impl SkillsConfig
pub fn flat_workspace_root(&self) -> bool
Sourcepub fn scan_codewhale_only(&self) -> bool
pub fn scan_codewhale_only(&self) -> bool
Resolve whether session-time discovery should ignore cross-tool skill directories. Defaults to the compatibility-preserving broad scan.
Trait Implementations§
Source§impl Clone for SkillsConfig
impl Clone for SkillsConfig
Source§impl Debug for SkillsConfig
impl Debug for SkillsConfig
Source§impl Default for SkillsConfig
impl Default for SkillsConfig
Source§impl<'de> Deserialize<'de> for SkillsConfig
impl<'de> Deserialize<'de> for SkillsConfig
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>,
Auto Trait Implementations§
impl Forget for SkillsConfig
impl Freeze for SkillsConfig
impl Move 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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.