Skip to content

Repository files navigation

Qompass AI Dotfiles

Qompass AI dotfiles (ie xdg .config files)

Repository Views GitHub all releases

XDG and Dotfiles
XDG Specification Dotfiles Documentation Dotfiles Tutorials
DOI License: AGPL v3 License: Q-CDA

▶️ Qompass AI Quick Start
curl -fsSL https://raw.githubusercontent.com/qompassai/dotfiles/main/scripts/quickstart.sh | sh
📄 We advise you read the script BEFORE running it 😉
#!/usr/bin/env bash
# /qompassai/dotfiles/scripts/quickstart.sh
# Qompass AI Quick Start Script
# Copyright (C) 2025 Qompass AI, All rights reserved
####################################################
REPO="https://github.com/qompassai/dotfiles"
TARGET_DIR="$HOME/.dotfiles"
if [ -d "$TARGET_DIR" ]; then
    echo "Removing existing dotfiles directory..."
    rm -rf "$TARGET_DIR"
fi
echo "Cloning Qompass AI Dotfiles..."
git clone "$REPO" "$TARGET_DIR"
mkdir -p "$HOME/.config/nix" "$HOME/.profile.d"
ln -sf "$TARGET_DIR/.config/nix/nix.conf" "$HOME/.config/nix/nix.conf"
ln -sf "$TARGET_DIR/.profile.d/67-nix.sh" "$HOME/.profile.d/67-nix.sh"
mkdir -p "$HOME/.config"
ln -sfn "$TARGET_DIR/home" "$HOME/.config/home" 2>/dev/null || true
ln -sfn "$TARGET_DIR/.local" "$HOME/.local" 2>/dev/null || true
ln -sf "$TARGET_DIR/flake.nix" "$HOME/.config/flake.nix" 2>/dev/null || true
source "$HOME/.profile.d/67-nix.sh" 2>/dev/null || {
    echo "WARNING: Could not source Nix profile configuration. Falling back to manual exporting"
    export NIX_CONF_DIR="$HOME/.config/nix"
    export NIX_STORE_DIR="$HOME/.nix/store"
    export NIX_STATE_DIR="$HOME/.local/state/nix"
    export NIX_LOG_DIR="$HOME/.local/state/nix/log"
    export NIX_PROFILE_DIR="$HOME/.nix-profile"
    export PATH="$NIX_PROFILE_DIR/bin:$PATH"
}
if ! command -v nix >/dev/null; then
    echo "Installing Nix with custom configuration..."
    mkdir -p /.nix/var/nix/{profiles,gcroots,db}
    chown -R "$(whoami)" /.nix
    sh <(curl -L https://nixos.org/nix/install) --daemon \
        --nix-extra-conf-file "$NIX_CONF_DIR/nix.conf"
    if [ -f '/.nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
        . '/.nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
    fi
fi
echo "Setting up Nix environment..."
cd "$TARGET_DIR"
nix flake update
detect_shell() {
    case "$(ps -p $$ -o comm=)" in
        *bash*) echo "bash" ;;
        *zsh*)  echo "zsh" ;;
        *fish*) echo "fish" ;;
        *)      echo "bash" ;;
    esac
}
USER_SHELL=$(detect_shell)
echo "Detected shell: $USER_SHELL"
nix develop --command "$USER_SHELL"
      </pre>
    </details>
    <p>Or, <a href="https://github.com/qompassai/dotfiles/blob/main/scripts/quickstart.sh" target="_blank">View the quickstart script</a>.</p>
🧭 About Qompass AI

Matthew A. Porter
Former Intelligence Officer
Educator & Learner
DeepTech Founder & CEO

Agent Skills

Reusable agent playbooks (SKILL.md) that teach an AI agent how to work a domain with Matt's real, verified toolchain. General skills live at .local/share/skills ($XDG_DATA_HOME/skills, documented in .local/share/README.md); Neovim-specific skills live at .local/share/nvim/skills ($XDG_DATA_HOME/nvim/skills) because they require Diver's Lua modules, lsp/ configs, DAP adapters, and :Sf* commands. Every skill states exactly which tools were verified on the workstation and which are still setup steps — nothing is presented as working before it is installed.

Salesforce

salesforce-trailblazer — work Salesforce Trailhead (Trailblazer) modules asynchronously with an AI agent, built on Diver's bounded, disk-persisted Trailhead job queue (lua/dev/sf/trailhead.lua).

  • Workflow: enqueue a module as a job, break it into steps, start it, and let the agent work the hands-on parts via the sf CLI while you read or do something else. Sessions survive Neovim restarts.
  • Job kinds: trailmix, quest, study, shell, note. Bounds: 128 jobs max, 4 active, 256 steps per job, 15-minute step timeout — a stuck org command can't hang the session forever.
  • Commands: :SfTrailheadEnqueue, :SfTrailheadAddStep, :SfTrailheadStart / :SfTrailheadStatus / :SfTrailheadJobs / :SfTrailheadLog, :SfTrailheadResume, :SfTrailheadCancel / :SfTrailheadCancelAll, :SfTrailheadDone / :SfTrailheadFail (browser-task handoff), :SfTrailheadQuests (certification voucher sources).
  • Honest boundary: Trailhead exposes no public completion API — no endpoint can mark a unit complete or read quiz answers, and the skill never claims otherwise. The agent verifies org-side state (metadata deployed? tests green? SOQL returns the rows?) via shell steps; clicking through units, quiz answers, and "check challenge" stay human-side or go to an explicitly approved browser task that reports back through :SfTrailheadDone.
  • Requires: Diver's dev.sf.trailhead module and its :SfTrailhead* commands, the sf CLI, and an authenticated Salesforce org (scratch, playground, or dev).

apex-dev — the full Salesforce Apex development loop in Neovim: edit, format, lint, run, deploy, and debug.

  • Toolchain (verified on the workstation): sf CLI and java installed; Apex LSP jar, apexfmt, the SOQL language server, and the DAP JS adapters are not installed — the configs degrade gracefully (notify / no-op) and the skill marks each as a setup step with the exact install source.
  • Edit — Apex LSP (lsp/apex_ls.lua: java + apex-jorje-lsp.jar, embedded SOQL completion) for .cls / .trigger; format — apexfmt via a BufWritePost hook (fires only when on PATH); lint — Salesforce Code Analyzer v5 and lightning-flow-scanner through the sf plugins (:SfAnalyzeFile, :SfAnalyzeProject).
  • Run — anonymous Apex (.apex scripts) and test runs through sf apex (:SfApexRunCurrent, :SfApexTestClass, :SfTestRunAll); deploy / retrieve — sf project (:SfDeployCurrent, :SfDeployValidate with --dry-run before shared orgs).
  • Debug — two node-based DAP adapters from the salesforcedx-vscode bundle (lua/dap/apex.lua): interactive (apexDebug.js, live against the org) and replay (apexReplayDebug.js, step through a fetched debug log via :SfApexReplayDebug). Discovery order: NVIM_APEX_*_ADAPTER env vars, then NVIM_SALESFORCE_DAP_ROOT, then conventional bundle paths.
  • SOQL / data — SOQL language server for .soql / .sosl plus the always-available sf data query (:SfSoql, :SfSoqlBuffer).
  • Deliberately out of scope: the thin, unverified LWC / Visualforce / AgentScript LSP configs, and the legacy sfdx CLI (the config standardizes on sf).

Publications

ORCID ResearchGate Zenodo

Developer Programs

NVIDIA Developer Meta Developer HackerOne HuggingFace Epic Games Developer

Professional Profiles

Personal LinkedIn Startup LinkedIn

Social Media

X/Twitter Instagram Qompass AI YouTube

🔥 How Do I Support
🏛️ Qompass AI Pre-Seed Funding 2023-2025 🏆 Amount 📅 Date
RJOS/Zimmer Biomet Research Grant $30,000 March 2024
Pathfinders Intern Program
View on LinkedIn
$2,000 October 2024

🤝 How To Support Our Mission

GitHub Sponsors Patreon Liberapay Open Collective Buy Me A Coffee

🔐 Cryptocurrency Donations

Monero (XMR):

Monero QR Code
42HGspSFJQ4MjM5ZusAiKZj9JZWhfNgVraKb1eGCsHoC6QJqpo2ERCBZDhhKfByVjECernQ6KeZwFcnq8hVwTTnD8v4PzyH
📋 Copy Address

Funding helps us continue our research at the intersection of AI, healthcare, and education

Frequently Asked Questions

Q: How do you mitigate against bias?

TLDR - we do math to make AI ethically useful

A: We delineate between mathematical bias (MB) - a fundamental parameter in neural network equations - and algorithmic/social bias (ASB). While MB is optimized during model training through backpropagation, ASB requires careful consideration of data sources, model architecture, and deployment strategies. We implement attention mechanisms for improved input processing and use legal open-source data and secure web-search APIs to help mitigate ASB.

AAMC AI Guidelines | One way to align AI against ASB

AI Math at a glance

Forward Propagation Algorithm

$$ y = w_1x_1 + w_2x_2 + ... + w_nx_n + b $$

Where:

  • $y$ represents the model output
  • $(x_1, x_2, ..., x_n)$ are input features
  • $(w_1, w_2, ..., w_n)$ are feature weights
  • $b$ is the bias term

Neural Network Activation

For neural networks, the bias term is incorporated before activation:

$$ z = \sum_{i=1}^{n} w_ix_i + b $$

$$ a = \sigma(z) $$

Where:

  • $z$ is the weighted sum plus bias
  • $a$ is the activation output
  • $\sigma$ is the activation function

Attention Mechanism- aka what makes the Transformer (The "T" in ChatGPT) powerful

The Attention mechanism equation is:

$$ Attention(Q, K, V) = softmax(\frac{QK^T}{\sqrt{d_k}})V $$

Where:

  • $Q$ represents the Query matrix
  • $K$ represents the Key matrix
  • $V$ represents the Value matrix
  • $d_k$ is the dimension of the key vectors
  • $\text{softmax}(\cdot)$ normalizes scores to sum to 1

Q: Do I have to buy a Linux computer to use this? I don't have time for that!

A: No. You can run Linux and/or the tools we share alongside your existing operating system:

  • Windows users can use Windows Subsystem for Linux WSL
  • Mac users can use Homebrew
  • The code-base instructions were developed with both beginners and advanced users in mind.

Q: Do you have to get a masters in AI?

A: Not if you don't want to. To get competent enough to get past ChatGPT dependence at least, you just need a computer and a beginning's mindset. Huggingface is a good place to start.

Q: What makes a "small" AI model?

A: AI models ~=10 billion(10B) parameters and below. For comparison, OpenAI's GPT4o contains approximately 200B parameters.

What a Dual-License Means

Protection for Vulnerable Populations

The dual licensing aims to address the cybersecurity gap that disproportionately affects underserved populations. As highlighted by recent attacks[1], low-income residents, seniors, and foreign language speakers face higher-than-average risks of being victims of cyberattacks. By offering both open-source and commercial licensing options, we encourage the development of cybersecurity solutions that can reach these vulnerable groups while also enabling sustainable development and support.

Preventing Malicious Use

The AGPL-3.0 license ensures that any modifications to the software remain open source, preventing bad actors from creating closed-source variants that could be used for exploitation. This is especially crucial given the rising threats to vulnerable communities, including children in educational settings. The attack on Minneapolis Public Schools, which resulted in the leak of 300,000 files and a $1 million ransom demand, highlights the importance of transparency and security[8].

Addressing Cybersecurity in Critical Sectors

The commercial license option allows for tailored solutions in critical sectors such as healthcare, which has seen significant impacts from cyberattacks. For example, the recent Change Healthcare attack[4] affected millions of Americans and caused widespread disruption for hospitals and other providers. In January 2025, CISA[2] and FDA[3] jointly warned of critical backdoor vulnerabilities in Contec CMS8000 patient monitors, revealing how medical devices could be compromised for unauthorized remote access and patient data manipulation.

Supporting Cybersecurity Awareness

The dual licensing model supports initiatives like the Cybersecurity and Infrastructure Security Agency (CISA) efforts to improve cybersecurity awareness[7] in "target rich" sectors, including K-12 education[5]. By allowing both open-source and commercial use, we aim to facilitate the development of tools that support these critical awareness and protection efforts.

Bridging the Digital Divide

The unfortunate reality is that too many individuals and organizations have gone into a frenzy in every facet of our daily lives[6]. These unfortunate folks identify themselves with their talk of "10X" returns and building towards Artificial General Intelligence aka "AGI" while offering GPT wrappers. Our dual licensing approach aims to acknowledge this deeply concerning predatory paradigm with clear eyes while still operating to bring the best parts of the open-source community with our services and solutions.

Recent Cybersecurity Attacks

Recent attacks underscore the importance of robust cybersecurity measures:

  • The Change Healthcare cyberattack in February 2024 affected millions of Americans and caused significant disruption to healthcare providers.
  • The White House and Congress jointly designated October 2024 as Cybersecurity Awareness Month. This designation comes with over 100 actions that align the Federal government and public/private sector partners are taking to help every man, woman, and child to safely navigate the age of AI.

By offering both open source and commercial licensing options, we strive to create a balance that promotes innovation and accessibility. We address the complex cybersecurity challenges faced by vulnerable populations and critical infrastructure sectors as the foundation of our solutions, not an afterthought.

References

About

No description or website provided.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages