Skip to content

[Bug] kb_capture_web may duplicate the 'web' tag #13

@dxu104

Description

@dxu104

Summary

When using kb_capture_web, the saved note may contain a duplicated web tag.

What I observed

In my test, Claude called kb_capture_web with tags that already included web. The resulting note ended up with web twice.

Image

Likely cause

captureWeb() appends web automatically via tagList.push('web'), but the caller may already provide web in the input tags.

Suggested fix

Deduplicate tags before writing frontmatter.

For example, normalize and de-duplicate the final tag list before generating:

  • tags: [...]

Why it matters

This is a small issue, but it creates noisy metadata in Obsidian and makes the captured note look less clean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions