Skip to content
Back to skills

Obsidian Bases Manager

ASecurity

Read and manipulate Obsidian Bases (.base) files - YAML-based database views that render as tables, cards, and grids inside the vault. Use when reading, appending rows, or updating cells in a Base file.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythonbashdatabase

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill obsidian-bases-manager --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Obsidian Bases Manager?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Obsidian Bases Manager
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-obsidian-bases-manager-agent-plugins-skills/badge)](https://www.skillsdirectory.com/skills/richfrem-obsidian-bases-manager-agent-plugins-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: obsidian-bases-manager
plugin: obsidian-wiki-engine
description: "Read and manipulate Obsidian Bases (.base) files - YAML-based database views that render as tables, cards, and grids inside the vault. Use when reading, appending rows, or updating cells in a Base file."
allowed-tools: Bash, Read, Write
---

# Obsidian Bases Manager (obsidian-bases-manager)

Reads and manipulates Obsidian Bases (`.base`) YAML-driven database views inside the vault.

## Contents
- [Critical Constraints](#critical-constraints)
- [Dependencies](#dependencies)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints
- **View Configuration Immutability**: Never alter or corrupt view definitions (columns, filters, sorts, formulas); mutate row and cell data only.
- **Lossless YAML Handling**: Employ `ruamel.yaml` for round-trip parsing to preserve comments, indentation, and structure.
- **Atomic Writes**: All write operations must follow the `.agent-tmp` staging and POSIX `os.rename()` atomic replacement protocol.
- **Error Guarding**: Malformed YAML must trigger informative diagnostics rather than crashing or truncating files.

## Dependencies

Requires `ruamel.yaml` and Python 3.8+ for round-trip YAML persistence.

## Quick start

```bash
# Read a Base view file
python3 plugins/obsidian-wiki-engine/scripts/bases_ops.py read --file <path.base>

# Append a row to a Base view
python3 plugins/obsidian-wiki-engine/scripts/bases_ops.py append-row --file <path.base> --data key1=value1 key2=value2

# Update a cell in a Base view
python3 plugins/obsidian-wiki-engine/scripts/bases_ops.py update-cell --file <path.base> --row-index 0 --column key1 --value "new value"
```

## Workflow

1. **Phase 1: Base Inspection**: Read the target `.base` file, validating YAML structure and active view definitions.
2. **Phase 2: Lossless Data Mutation**: Apply row append or cell update operations using `ruamel.yaml` parser.
3. **Phase 3: Atomic Persistence**: Write to staging `.agent-tmp` file and atomically rename over destination.
4. **Phase 4: Integrity Verification**: Confirm that column definitions, formulas, and filters remain intact.

## Verification

```bash
# Verify base reading operation
python3 plugins/obsidian-wiki-engine/scripts/bases_ops.py read --file <path.base>

# Audit skill compliance
python3 plugins/agent-scaffolders/scripts/audit_skill.py plugins/obsidian-wiki-engine/skills/obsidian-bases-manager --mode source
```

## References
- [acceptance-criteria.md](references/acceptance-criteria.md) - Bases manager invariants and test criteria.
- [fallback-tree.md](references/fallback-tree.md) - Recovery procedures for YAML parsing and file write failures.

Files in this skill

  • SKILL.md1.7 KB
  • acceptance-criteria.md628 B
  • assets/resources/architecture-background.md55 B
  • assets/resources/kepano-analysis-summary.md55 B
  • assets/resources/safety-learnings.md48 B
  • evals/evals.json692 B
  • evals/results.tsv301 B
  • fallback-tree.md787 B
  • references/acceptance-criteria.md25 B
  • references/fallback-tree.md19 B
  • requirements.txt22 B
  • scripts/bases_ops.py29 B
  • scripts/parser.py42 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.