Codumentor logo Codumentor Enterprise

Example prompts

example_prompts adds concrete, editable prompt cards as the last section of
an empty conversation's opener. Available in both editions; enabled in the
Community personal flavor's default config, not in Enterprise defaults.
Existing deployment configs are unchanged: add the plugin explicitly to opt in.

plugins:
  - module: codumentor.plugins.example_prompts
    class: ExamplePromptsPlugin
    args:
      enabled: true
      defaults:
        - label: Explain this folder
          prompt: Explore the current working folder and summarize its main directories. Do not change files.

Omit defaults to use the four built-in examples: interactive disk-usage treemap,
folder guide, spreadsheet analysis, and document comparison. These use local-file,
Office-reading, Mermaid, and HTML-widget capabilities available in Community.
They do not require external account connections. Actual results depend on the
selected model and the files and tools permitted in the deployment.

Settings → Extensions → Example prompts lets each user replace the configured
list. An empty user list hides the cards. Removing the items key from that
user's plugin settings restores inheritance. Only the first four usable entries
are displayed on desktop, and only the first on screens up to 600px wide.
Incomplete editor rows are omitted from the opener.

Clicking a card appends its full prompt to the current conversation draft and
focuses the composer using codumentor:seed-chat-input. It never sends a turn,
creates a conversation, or replaces an existing draft.

The welcome-bottom placement is an eager-loaded additive opener slot, after
the ordinary welcome hint. Like existing welcome widgets, it is not shown in
the configuration assistant. The ordinary authenticated settings API stores
per-user overrides; authenticated /ui/plugins/example_prompts/items resolves
that user's list, falling back to deployment defaults. A successful host settings save emits
codumentor:plugin-settings-changed, allowing the cards to refresh immediately.