agentsclimarketplace

Khub deposition update

Skill libenxier-beep/codex-custom-skills/skills/khub-deposition-update

Production-grade Codex skills with explicit triggers, deterministic validation, and reusable AI agent workflows.

Install
npx -y skills add libenxier-beep/codex-custom-skills --skill khub-deposition-update

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when a validated KHub route-plan must become an Obsidian note creation or append operation with source trace, template mapping, write guards, and execution reporting.

SKILL.md

4.4 KB, as published. Nobody here has run it

KHub Deposition Update

Turn a validated KHub route-plan into a safe Obsidian create or append operation. This is the execution layer only: it must not reclassify material, change routing, or recover from blocked decisions by guessing.

Follow the shared rules in ../workflow-principles.md: preserve source trace, honor write gates, and report exactly what changed.

Use When

  • The input is a validated route-plan from khub-classifier-router.
  • The requested operation is create or append for an Obsidian KHub note.
  • The task needs a structured note payload before writing.
  • The user asks for an execution report after KHub note creation or update.

Do Not Use When

  • The input is raw Flomo or an unclassified intake artifact.
  • The input is a decision-report, no_fit, needs_human_decision, or write_blocked: true.
  • The route operation is skip_duplicate; report it without vault mutation instead of using this execution layer.
  • The task asks to choose a note type, area, or template. Use khub-classifier-router.
  • The target is Feishu, a non-KHub Obsidian note, or a general writing task.

Inputs

  • A valid route-plan
  • The original intake item for traceability
  • The selected KHub template
  • Existing note content when operation=append

Procedure

  1. Validate that input is a route-plan and that write_blocked is false.
  2. Refuse immediately if any stop rule from contract.md applies.
  3. Load only the references needed for the operation:
  4. Build a structured note-payload before rendering Markdown.
  5. Render final Obsidian Markdown through the available Obsidian markdown path.
  6. Execute vault operations through the available structured Obsidian path.
  7. Return an execution-report that says whether writing was attempted and what changed.

Output Contract

  • Produce a structured note-payload before any write.
  • Produce an execution-report for every attempted or refused execution.
  • If blocked or conflicted, set write_attempted: false unless a write genuinely happened before the conflict was detected.
  • Do not produce a new classification, target area, template, or route plan.

Stop Rules

  • If write_blocked: true, stop immediately.
  • If kind is not route-plan, stop immediately.
  • If status is no_fit or needs_human_decision, stop immediately.
  • If template_id, target_note_path, or final_type is missing, stop immediately.
  • If append placement is unsafe or unclear, return conflict instead of forcing a write.
  • If Obsidian access is unavailable, stop with the exact blocker and do not emulate success.

Validation

Common Mistakes

  • Reclassifying or rerouting when the route plan feels imperfect.
  • Writing a blocked decision-report into KHub.
  • Rendering Markdown before preserving source trace in the structured payload.
  • Appending into an unclear section instead of returning conflict.
  • Reporting success without checking the actual vault operation.

See contract.md for the execution contract and ../workflow-principles.md for cross-layer workflow principles.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.