Skip to main content

CLI skill to query a personal knowledge base via OpenWebUI RAG

Project description

skill-mnemo

CLI skill to query a personal knowledge base via OpenWebUI RAG.

Install

From PyPI (once published)

pipx install skill-mnemo

From repo (disponible ahora)

pipx install git+ssh://git@git.vauxoo.com/nhomar/skill-mnemo.git

Actualizar

pipx upgrade skill-mnemo
# o desde repo:
pipx install git+ssh://git@git.vauxoo.com/nhomar/skill-mnemo.git --force

Setup

mnemo add-profile
# prompts for URL, API key, collection ID, and optional Cloudflare Access tokens

For nhomar's setup:

  • URL: https://ai.me1980.com
  • API key: in ~/Private/megalodonte-secrets.md
  • Collection ID: 0de5a214-ba16-4470-99f8-29fabf1d7f02
  • CF-Access-Client-Id / Secret: in ~/Private/megalodonte-secrets.md

Usage

# Query (uses default profile)
mnemo "how do I access code-server?"

# More results
mnemo "ollama models" --top 5

# JSON output (for agents/scripts)
mnemo "cloudflare ports" --json

# Named profile
mnemo "deploy process" --profile work

# Manage profiles
mnemo list-profiles
mnemo add-profile --name work

Credentials

Stored in ~/.config/skill-mnemo/credentials.json (mode 600).

{
  "default": {
    "url": "https://ai.me1980.com",
    "api_key": "sk-...",
    "collection_id": "...",
    "cf_client_id": "...",
    "cf_client_secret": "..."
  }
}

As an agent skill

# Any agent can call this and parse JSON output
mnemo "question" --json

Output:

[
  {"content": "...", "source": "CLAUDE.md", "score": 0.85},
  ...
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skill_mnemo-1.0.1.tar.gz (29.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skill_mnemo-1.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file skill_mnemo-1.0.1.tar.gz.

File metadata

  • Download URL: skill_mnemo-1.0.1.tar.gz
  • Upload date:
  • Size: 29.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for skill_mnemo-1.0.1.tar.gz
Algorithm Hash digest
SHA256 84b9059626f90d61580197bbce3227144f161b912da00e7f8a89fd8b8e0f8249
MD5 f2756b38b4d41ef9346805f677731f75
BLAKE2b-256 d9bc220b3f242f53ef597e1f1206b56583d7e1a6ca5bc2c8772e281c666efd70

See more details on using hashes here.

File details

Details for the file skill_mnemo-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: skill_mnemo-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for skill_mnemo-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d6c05aeaee214f9e199497d54f5b24739e1a8c74205c248207c7e3cd64f4741
MD5 0afaebd20321e65fcebca45393d98c42
BLAKE2b-256 4a2783de18504640c4ecfb28399e60001fecd646142f454fbb776a31bd2511ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page