OtōtoOtōto

(•)Plugins

Extend your agent's comprehension with specialized tool plugins.

Otōto plugins enable deep inspection of complex file formats, build systems, and development forges. Plugins parse files using their native domain rules, inspect internal archive contents, and query CI pipelines directly. Each has its own version and is published when it is ready, without waiting for a release of Otōto: ototo plugins update brings yours up to these, as of 16 November 2026. A new install comes with them all. Run ototo plugins available in your terminal to view all available extensions.

archive archive plugin · 0.2.0

Inside a JAR, WAR, wheel or any ZIP without unpacking it; a class as its declarations, no javap.

Opens
**/*.jar, **/*.war, **/*.ear, **/*.aar, **/*.apk, **/*.zip, **/*.whl, **/*.egg, **/*.nupkg, **/*.jmod, **/*.vsix, **/*.hpi, **/*.jpi, **/*.class
Try
ototo read lib/core.jar!org.demo.Shelf
Is lent
The bytes of those files only, read-only: no other file, no network. What it finds is unpacked in memory, never to disk.
Needs
Otōto 2.11.0 or later: ototo update
Built from
b3b7eca, and rebuildable from it
ototo plugins add archive
What it does

Inside JARs and other ZIP archives, without unpacking them; and a compiled Java class as its declarations, with their annotations.

It opens .jar, .war, .ear, .aar, .apk, .zip, .whl, .egg, .nupkg, .jmod, .vsix, .hpi and .jpi files, and .class files on disk. What is inside an archive is addressed by the archive, a !, and the entry:

  • ototo outline lib/core-1.4.2.jar: what is in it, by directory, with what its manifest says; a directory of it: ototo outline lib/core-1.4.2.jar!org/demo/io.
  • ototo read lib/core-1.4.2.jar!org/demo/Shelf.class: a class, as its declarations. The same by its Java name (…!org.demo.Shelf) or its short name when only one class has it (…!Shelf); one member with #join.
  • ototo read lib/core-1.4.2.jar!META-INF/MANIFEST.MF: any text entry, with :10-40 or #name as for a file.
  • ototo read app.war!WEB-INF/lib/core.jar!Shelf: an archive in an archive, one more !.

A class comes as the Java it was compiled from, without the bodies: modifiers, type parameters, what it extends and implements, a record's components, and each field, constructor and method with its generic types, its throws, its parameters' names when the compiler kept them (-g, the default of Maven and Gradle, or -parameters) and a constant's value. It is read from the class file's own tables: no JDK, no javap, no decompiler. What the compiler made up (bridges, access$000, lambda$…, $VALUES) is left out; Kotlin's public inline functions are kept.

Annotations are shown as source writes them, above the class, the field or the method they are on, and before a parameter or a record's component: @GetMapping("/shelves/{id}"), @ConditionalOnClass({DataSource.class, EmbeddedDatabaseType.class}), @Nullable. Both kinds the class file keeps are read, those kept at run time and those kept only in the file, which javap shows only with -v. #find reads a method with its annotations; the outline lists declarations without them. Not shown: annotations on a type's use (List<@NonNull String>, and JSpecify's @Nullable, which is one), and what the compiler never wrote to the class file (@Override, Lombok's). Kotlin's own metadata is left out.

When a -sources.jar sits beside a JAR, as in Maven's and Gradle's caches, the class says where its source is, and that entry reads like any Java file, bodies included.

Nothing is written to disk and nothing is run. An entry is inflated in memory, up to 2 MB, and must match the size and checksum the archive gives for it; an archive in an archive up to 64 MB. Encrypted entries, and ones packed by a method other than deflate, are refused by name. A secrets file in an archive (a .env, a key) is neither listed nor read.

The archive must be one Otōto may read: in the repository, in a worktree or an added directory, or, for your dependencies, in a cache named by dependency_caches in Otōto's settings (dependency_caches = true for ~/.m2/repository and ~/.gradle/caches). Otōto lends this plugin the bytes of those files only.

Not here: tarballs, a search inside an archive, and bytecode (javap -c).

Download it by hand

archive.wasm (329 KB) and its signature: save them as archive.wasm and archive.wasm.sig in ~/.config/ototo/plugins. Otōto loads a plugin only when its signature is by a key in your allowed_signers; the installer puts Otōto's there.

SHA-256 of the .wasm: 359149898d44e84c198f2144117f4c22603f498c384c41a1b445eac52fa46986

codeowners file plugin · 0.1.0

Who owns a path, by the CODEOWNERS rule that decides it, as GitHub or GitLab reads the file.

Reads
**/CODEOWNERS
Try
ototo read CODEOWNERS#src/api/server.rs
Built from
b3b7eca, and rebuildable from it
ototo plugins add codeowners
What it does

Who owns a path, by the CODEOWNERS rule that decides it.

It reads any file named CODEOWNERS (.github/CODEOWNERS, .gitlab/CODEOWNERS, docs/CODEOWNERS, or at the root).

Outline: the file's rules, each with its owners, under their sections where the file has them.

Read a path's owners: ototo read CODEOWNERS#src/api/server.rs. It answers with the owners, the rule that decides (the last one that matches) with its line, and the earlier rules it overrides. For a GitLab file with sections, each section is answered by itself, since each asks its own approval: its name, whether it is optional, how many approvals it wants, and the owners, which are the section's default when the rule names none. A ! exclusion that matches takes the path out of its section.

Read an owner's rules: ototo read CODEOWNERS#@backend lists the lines that name them. A section by its name (#Backend) is those lines of the file.

GitHub and GitLab read a pattern with a slash inside it differently: docs/*.md is from the repository's root for GitHub and at any depth for GitLab. The answer says which reading it is: by where the file is (.github/, .gitlab/), by sections or exclusions (GitLab's only), or by what else the repository holds (.gitlab-ci.yml, a .github directory). When none of those tells and the two readings differ for the path asked about, it gives GitHub's and lists the rules GitLab would match too, instead of choosing.

It does not know who is in a team or a group, nor whether an owner exists: those are the forge's, and a plugin that reads files sees no network. Character ranges ([a-z]), which GitHub's CODEOWNERS does not support either, are read as the characters they are.

Download it by hand

codeowners.wasm (107 KB) and its signature: save them as codeowners.wasm and codeowners.wasm.sig in ~/.config/ototo/plugins. Otōto loads a plugin only when its signature is by a key in your allowed_signers; the installer puts Otōto's there.

SHA-256 of the .wasm: c6a398784eecf95bf445a46d22ee6b140178953b91125c36f6e8edb15df7485c

compose file plugin · 0.1.0

A service as docker compose runs it, overrides and .env applied.

Reads
**/*.yml, **/*.yaml
Try
ototo read compose.yaml#web
Built from
1783139, and rebuildable from it
ototo plugins add compose
What it does

Docker compose files, read as docker compose runs them.

It reads compose.yaml, docker-compose.yml and their overlays (docker-compose.prod.yml and the like), and any YAML whose services have an image or a build.

Outline: one line per service (its image or build, extends, ports, depends_on, profiles), plus networks, volumes, secrets, configs, x- blocks and includes.

Read a service: ototo read compose.yaml#web, or ototo read web. It returns the service as docker compose runs it:

  • the file's includes, the file itself and its override (compose.override.yaml), or for an overlay its base under it;
  • extends resolved, in the project or from another file;
  • anchors and <<: merges expanded;
  • the files merged as docker compose merges them: mappings by key, ports, volumes and the other lists it combines combined, environment and labels by name, the rest replaced;
  • ${VAR}, ${VAR:-default} and the other forms filled in from the project's .env, shown after each line that uses them.

Every line says which file and lines it came from. Variables come from .env only: a plugin sees no environment.

Download it by hand

compose.wasm (272 KB) and its signature: save them as compose.wasm and compose.wasm.sig in ~/.config/ototo/plugins. Otōto loads a plugin only when its signature is by a key in your allowed_signers; the installer puts Otōto's there.

SHA-256 of the .wasm: 9a0482ef3459ff49d524dab9549c9fe1fef4243b067e38ee678be5f4cb8e32d7

gitlab forge plugin · 0.2.0

The branch's merge request, a pipeline by stage, a failed job's log cut to what failed, and waiting on a pipeline or a job.

Serves
gitlab.com
Try
ototo forge --pipeline 1234
Network
Only those hosts, over https, and only once you grant it: ototo plugins grant gitlab. It never sees your token; Otōto adds it.
Built from
7d649ed, and rebuildable from it
ototo plugins add gitlab
What it does

GitLab merge requests and pipelines, for Otōto's forge tool (read-only).

It serves repositories whose forge remote (origin, or git config ototo.forgeRemote <name>) is on gitlab.com, and any self-hosted GitLab you add. It reaches the network only once granted: ototo plugins grant gitlab.

Answers:

  • ototo forge: the checked-out branch's open merge request (from this project, not a fork) and its latest pipeline;
  • ototo forge --change 12: a merge request's state, whether it can merge, its pipeline, approvals and open threads;
  • ototo forge --pipeline 345: the pipeline's jobs by stage (the latest run of each; a big stage as counts plus the jobs that did not pass), the pipelines it triggered, and the failed jobs to read;
  • ototo forge --job 678: the job's log, cut by Otōto to what failed, with secrets taken out;
  • ototo forge --job 678 --wait (or --pipeline 345 --wait): Otōto waits until it settles (passed, failed, canceled, skipped, or manual: waiting to be started), then says where it is. Otōto only reads: starting a manual job is yours to do on GitLab.

Settings, in Otōto's config.toml:

[plugin_settings.gitlab] token_env = "GITLAB_TOKEN" # a read_api token for gitlab.com (or token = "…")

[plugin_settings.gitlab.hosts."gitlab.corp"] token_env = "CORP_GITLAB_TOKEN" # sent only to gitlab.corp api_url = "https://gitlab.corp/api/v4" # only if its API is not at https://<host>/api/v4

Without a token it sees what is public; job logs always need one.

Download it by hand

gitlab.wasm (150 KB) and its signature: save them as gitlab.wasm and gitlab.wasm.sig in ~/.config/ototo/plugins. Otōto loads a plugin only when its signature is by a key in your allowed_signers; the installer puts Otōto's there.

SHA-256 of the .wasm: 552f154e6c27097a92fd8f52ea7297f28b19993e785a9fee557741b282877f6c

gitlab-ci file plugin · 0.1.0

A job as GitLab runs it: includes, extends and anchors resolved.

Reads
**/*.yml, **/*.yaml
Try
ototo read .gitlab-ci.yml#deploy:prod
Built from
1783139, and rebuildable from it
ototo plugins add gitlab-ci
What it does

GitLab CI pipelines, read as GitLab runs them.

Outline: one line per job and template, with its stage, extends and needs (deploy:prod job stage=deploy extends=.deploy needs=build), plus stages, include, variables and default.

Read a job: ototo read .gitlab-ci.yml#deploy:prod, or ototo read deploy:prod from anywhere; add a key for just that key (.gitlab-ci.yml#deploy:prod.script). It returns the job as GitLab runs it:

  • the root .gitlab-ci.yml with its local includes (paths and globs, recursively) and the child pipelines its jobs trigger;
  • the extends chain deep-merged (mappings key by key, the more specific definition winning otherwise);
  • default and the global variables inherited, unless inherit says not;
  • anchors, aliases and <<: merge keys expanded, and each !reference [job, key] followed;
  • every key marked with the file, lines and job or template it came from.

Project, remote, template and component includes are named but not followed: the plugin reads only this repository. Like GitLab, it refuses an alias before its anchor.

Download it by hand

gitlab-ci.wasm (234 KB) and its signature: save them as gitlab-ci.wasm and gitlab-ci.wasm.sig in ~/.config/ototo/plugins. Otōto loads a plugin only when its signature is by a key in your allowed_signers; the installer puts Otōto's there.

SHA-256 of the .wasm: 5a7aaf2c5cd4d24089e1a17d20641199facf868a5cd500e84e4b491a1a3023aa

kube file plugin · 0.1.0

A Kustomize resource as it builds, and a Helm value with the templates that use it.

Reads
**/kustomization.yaml, **/kustomization.yml, **/Kustomization, **/Chart.yaml, **/values*.yaml, **/values*.yml
Try
ototo read overlays/prod/kustomization.yaml#Deployment/api
Built from
1783139, and rebuildable from it
ototo plugins add kube
What it does

Kustomize overlays, read as kustomize build puts them together; Helm values, read as a chart sees them.

It reads kustomization.yaml (and .yml, Kustomization), Chart.yaml and a chart's values files (values.yaml, values-prod.yaml, values.prod.yaml). The manifests a kustomization collects are not claimed one by one: the kustomization is the way in.

Outline a kustomization: its resources and components, its patches with their targets (patch.yaml → Deployment/api, inline JSON6902 replace /spec/replicas → Deployment/api), images (nginx → registry/nginx:1.25), namespace, namePrefix and nameSuffix, labels, replicas, and its generators by name. Outline a Chart.yaml: name, version, appVersion, and each dependency with its version, repository and condition. A values file keeps Otōto's own YAML outline.

Read a resource as an overlay builds it: ototo read overlays/prod/kustomization.yaml#Deployment/api, or #api when one resource has that name, or #Deployment/api.spec.template for part of it. The base name and the built one (prod-api) both work. It returns the resource after:

  • its resources collected recursively (files, and directories with a kustomization of their own, built first), then its components;
  • generators: ConfigMaps and Secrets with their literals and env files; files by name only, their content not shown; behavior: merge and replace followed;
  • in kustomize's order: strategic-merge patches (patchesStrategicMerge, and patches with a file or inline patch and an optional target), namespace, namePrefix and nameSuffix, labels and commonLabels (into selectors and templates when kustomize puts them there), commonAnnotations, JSON6902 patches (add, replace, remove, move, copy), replicas, and images (newName, newTag, digest);
  • references to a renamed ConfigMap, Secret, ServiceAccount, PVC or Service following the rename.

Strategic merge is simplified: mappings merge by key, a null takes a key out; containers, initContainers, volumes, env and imagePullSecrets merge by name, ports by name (else port number), volumeMounts by mountPath; other lists are replaced; $patch: replace and $patch: delete are followed. Every line says which file and line set it, and what changed it (# base/deployment.yaml:4 (namePrefix prod-: overlays/prod/kustomization.yaml:3)). What patches took out is listed after.

ototo read Deployment/api from anywhere: which kustomizations build it, under which name and namespace, and where it is defined; when one top-level kustomization builds it, the resource as that one does.

Read a Helm value: ototo read chart/values.yaml#image.tag gives its value in values.yaml and in each of the chart's other values files (the ones helm -f would add), each with its file and line; the template lines that use it (.Values.image.tag, or a parent of it passed whole, as to toYaml); and what Chart.yaml's dependencies make of it (a subchart's values, a dependency's condition). #image lists every value under image.

Not applied, and said so: remote bases and components (a plugin reads only this repository), replacements, vars, helmCharts, transformer and generator plugins, and the content hash kustomize adds to generated names. Otōto keeps secrets files (*.env) from plugins, so an env-file generator shows no data unless Otōto's settings allow them. Helm templates are not rendered: Go templates are not evaluated, and a value reached through with, range or index shows only where the block starts. Nothing runs: no kustomize, kubectl or helm.

Download it by hand

kube.wasm (376 KB) and its signature: save them as kube.wasm and kube.wasm.sig in ~/.config/ototo/plugins. Otōto loads a plugin only when its signature is by a key in your allowed_signers; the installer puts Otōto's there.

SHA-256 of the .wasm: 19a24efe80ddf579acf4a65bca538fc2f4952e53c9e3c4d6f8b4ac5a8a62851b

maven file plugin · 0.2.0

A dependency's effective version and scope, through parents, BOMs and properties.

Reads
**/pom.xml, **/*.pom
Try
ototo read pom.xml#spring-core
Built from
bfa5d0e, and rebuildable from it
ototo plugins add maven
What it does

Maven POMs, read as Maven evaluates them: the effective POM.

It reads every pom.xml whose root is <project>; any other XML is left to Otōto.

Outline: the coordinates, parent, modules, properties, dependencyManagement, dependencies (groupId:artifactId, the version and scope as written), build plugins, pluginManagement and profiles, each dependency and plugin under its artifactId (dependencies.spring-core, properties.java.version, profiles.dev).

Read a dependency: ototo read pom.xml#spring-core (or #org.springframework:spring-core), or ototo read spring-core for what every POM in the repository says about it. It returns the dependency with its effective version and scope:

  • the parents, found by <relativePath> (../pom.xml by default) or by their coordinates among the repository's POMs;
  • properties merged, a POM's over its parents', and ${...} filled in from them and from the project (${project.version}), recursively, each property it used shown with the file and line it comes from;
  • a version not declared taken from dependencyManagement in Maven's order: this POM's and its parents' entries, then the BOMs they import (<scope>import</scope>), each read as its own effective POM;
  • a parent or BOM that is not in the repository named where Maven would look at it (managed by org.springframework.boot:spring-boot-starter-parent:3.5.0, not in this repository); no version is made up.

Other reads, on any POM:

  • #effective: the module's coordinates (groupId and version inherited), parents, properties, dependencies with their versions and scopes, build plugins, and its profiles;
  • #properties, or one property (#java.version): the value, what it comes to, and the POM it is set in;
  • #dependencies, #dependencyManagement (in the order Maven looks), #parent, #modules;
  • a build plugin (#maven-compiler-plugin): its version, from pluginManagement if need be, and the declarations Maven merges into it; a profile (#dev): its activation, and its dependencies and plugins resolved.

Every line says which file and lines it came from. Profiles are shown, not applied: whether one is active depends on the build. Settings.xml, -D properties, the environment and the local repository are out of a plugin's reach, as are Maven's own plugin defaults; plugin configuration is shown per declaration, not merged.

Download it by hand

maven.wasm (304 KB) and its signature: save them as maven.wasm and maven.wasm.sig in ~/.config/ototo/plugins. Otōto loads a plugin only when its signature is by a key in your allowed_signers; the installer puts Otōto's there.

SHA-256 of the .wasm: 26e205b0879f7047181b74b383c2c094ebd99405148f5db24c41e13a59474813

spring-config file plugin · 0.1.0

A property as each profile sees it, and where each value is set.

Reads
**/application*.properties, **/application*.yml, **/application*.yaml, **/bootstrap*.properties, **/bootstrap*.yml, **/bootstrap*.yaml
Try
ototo read spring.datasource.url
Built from
1783139, and rebuildable from it
ototo plugins add spring-config
What it does

Spring Boot configuration, read as Spring Boot resolves it, per profile.

It reads application.properties, application.yml and application.yaml, their profile files (application-prod.yml), and bootstrap's, each with the files Spring loads beside it: those in its directory and in the config/ directory under it.

Outline: each property, flattened (spring.datasource.url, list items as servers[0]), under the document it is in when a file has several (YAML's ---, .properties' #--- or !---) or is for a profile, each document labelled with the profile it activates on (spring.config.activate.on-profile, or the legacy spring.profiles).

Read:

  • a key: ototo read src/main/resources/application.yml#spring.datasource.url, or ototo read spring.datasource.url from anywhere. Its value with no profile active (Spring's default profile), then for each profile that changes it, with the file and line it came from and what it overrides;
  • a key prefix (application.yml#spring.datasource): the keys under it with no profile, then what each profile changes;
  • a profile: application.yml#@prod (#@prod,eu for several, #@ for none). Every property as that profile sees it, each with its origin, after the files and documents read, lowest precedence first.

A profile's configuration is put together as Spring puts it together: .properties over .yml over .yaml, config/ over the directory, a file's later documents over its earlier ones, documents for other profiles left out, profile files over all of those (a later profile over an earlier one), spring.profiles.include and spring.profiles.group expanded, a list taken whole from the last source that sets it. ${other.key} placeholders are filled in from the same profile's properties, followed through, with where each came from; a loop is named. A key no file sets is left to the environment, which a plugin cannot see: ${DB_URL:jdbc:h2:mem:x} shows as "from environment DB_URL, else jdbc:h2:mem:x", never a guess. YAML's plain on, off, yes and no show as the booleans Spring reads.

Named but not followed: spring.config.import, spring.profiles.active (a view has the profiles asked for), and documents for a cloud platform. Not seen: environment variables, system properties, command-line arguments, and one classpath root shadowing another (src/test/resources is read as a location of its own).

Download it by hand

spring-config.wasm (299 KB) and its signature: save them as spring-config.wasm and spring-config.wasm.sig in ~/.config/ototo/plugins. Otōto loads a plugin only when its signature is by a key in your allowed_signers; the installer puts Otōto's there.

SHA-256 of the .wasm: f489e7e0e01692d0aa0dcd010ed190a3c44634ef453a1d1dca69e5334d31d85d

terraform file plugin · 0.1.0

A resource with its variables and locals worked out, per environment.

Reads
**/*.tf, **/*.tfvars, **/*.tofu
Try
ototo read aws_db_instance.main@prod
Built from
1783139, and rebuildable from it
ototo plugins add terraform
What it does

Terraform and OpenTofu configurations, read as they are evaluated.

A module is the .tf and .tofu files of one directory. Its variables take their values as Terraform gives them: the default, then terraform.tfvars, terraform.tfvars.json and the *.auto.tfvars files in name order, then an environment's var file, the later winning.

Read a block: ototo read main.tf#aws_db_instance.main, or ototo read aws_db_instance.main from anywhere (also data.aws_ami.base, module.network, output.url; one argument as aws_db_instance.main.instance_class). It returns the block as written, and:

  • beside each expression that uses a variable or local value, what it works out to (# → "db.r6g.large"), or the expression with what is known filled in where a function, another resource's attribute, count or each is not (# → upper("shop-prod"));
  • below it, where each value came from (var.env = "prod" prod.tfvars:1 (@prod), over terraform.tfvars:1, local.name = "shop-prod" locals.tf:2), with what a local value used listed under it;
  • for a call to a module in this repo (./modules/network): the variables it sets and misses, and the module's outputs worked out from the call.

Per environment: add @prod (ototo read aws_db_instance.main@prod) to read with prod.tfvars as a -var-file (or env/prod.tfvars, envs/prod/terraform.tfvars: found by name, nearest the module first), or @path/to/file.tfvars.

Read a variable: ototo read var.region returns its declaration, its value, every file that sets it (each environment's too) and every line of the module that uses it; ototo read prod.tfvars#region reads it with that file. Read a local value: ototo read local.name returns its value, what it used, and its uses.

Only a safe subset is evaluated: literals, var. and local. references and lookups in them, interpolation, ==, !=, &&, ||, !, number comparisons, integer + - * and conditionals; never a function. A variable's type converts its value as Terraform does; sensitive variables are not shown. .tofu files are outlined, and a .tofu file is read over the .tf file of the same name, as OpenTofu does; override files are shown after the block they override.

The plugin reads only this repository and runs nothing: TF_VAR_ variables, -var flags, workspaces, state and remote modules (registry, git) are out of sight, and a variable only they set shows as not set.

Download it by hand

terraform.wasm (681 KB) and its signature: save them as terraform.wasm and terraform.wasm.sig in ~/.config/ototo/plugins. Otōto loads a plugin only when its signature is by a key in your allowed_signers; the installer puts Otōto's there.

SHA-256 of the .wasm: 07f671fd60f9ba52e6b75dbecac5b3c0cc7f5a566a5d5a4e9702078123d1efef

Cryptographic verification and sandboxing

Signed registry index

The ototo plugins add command retrieves plugins exclusively from the channel's index, which must be cryptographically signed by Otōto's release key. Unsigned or tampered manifests are rejected automatically.

Checksum integrity

Every downloaded plugin binary is validated against the exact SHA-256 digest specified in the signed index. Any binary modified in transit will fail verification and abort installation.

WebAssembly sandboxing

Plugins execute within an isolated WebAssembly sandbox. File plugins have read-only access to the repository, archive plugins only access explicitly opened archives in memory, and forge plugins can only communicate with domains you explicitly approve.