Class Frontmatter

java.lang.Object
com.google.adk.JsonBaseModel
com.google.adk.skills.Frontmatter

public abstract class Frontmatter extends JsonBaseModel
Frontmatter represents the YAML metadata at the top of a SKILL.md file. For more details, see https://agentskills.io/specification#frontmatter.
  • Constructor Details

    • Frontmatter

      public Frontmatter()
  • Method Details

    • name

      public abstract String name()
      Skill name in kebab-case.
    • description

      public abstract String description()
      What the skill does and when the model should use it.
    • license

      public abstract Optional<String> license()
      License for the skill.
    • compatibility

      public abstract Optional<String> compatibility()
      Compatibility information for the skill.
    • allowedTools

      public abstract Optional<String> allowedTools()
      A space-delimited list of tools that are pre-approved to run.
    • metadata

      public abstract com.google.common.collect.ImmutableMap<String,Object> metadata()
      Key-value pairs for client-specific properties.
    • toXml

      public String toXml()
    • builder

      public static Frontmatter.Builder builder()