Answers natural-language questions about the projects the user follows by searching Duccio's (the second brain's) Obsidian vault, the local repos in the projects folder and external sources (Jira, Confluence, Drive, Gmail), always citing sources. Use for questions about clients, projects, decisions, people, technologies or the state of the work.
3 stars
0 votes
0 copies
0 views
Added December 1, 2026
ai-agentspythongoshellbashgit
Works with
cli
Security analysis
B88/100
criticalSends environment variables or credentials to an external URL
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ask?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrycaos-ask)
---
name: ask
description: Answers natural-language questions about the projects the user follows by searching Duccio's (the second brain's) Obsidian vault, the local repos in the projects folder and external sources (Jira, Confluence, Drive, Gmail), always citing sources. Use for questions about clients, projects, decisions, people, technologies or the state of the work.
---
# ask
Work from the repo root. Do not write to the vault, except with explicit confirmation at step 6. Apply "Data sources" and "Git protocol" from `AGENTS.md`.
## 1. Update
Pull according to the Git protocol. If it fails because of the network, warn and continue.
## 2. Search the vault
1. Identify the clients and projects involved (names, `aliases`, people, Jira keys). For cross-cutting questions ("which projects have we used Kafka on?") start from the entity note (`vault/Technologies/Kafka.md`, `vault/People/…`) and from backlinks: search the vault for the text `[[Kafka`.
2. Read the project hub: `## Status`, `## Key notes`, `## Log` (the Log answers "what changed").
3. Follow the relevant wikilinks and read the linked notes.
4. Run a text search over all of `vault/` with the key terms. If you need the original detail, also search the `.md` and `.txt` files in `vault/raw/archive/` (including the converted `.<ext>.md`). For notes imported from Gmail the original detail is the thread in `sources:`: open it with the Gmail tool, getting the hexadecimal id from the number after `thread-f:` with `format(number, 'x')`. For notes imported from Jira or Confluence the original detail is the issue or page URL in `sources:`: open it with the Atlassian tool.
## 3. Search the local repos
If the answer is not complete, or the question is about code or recent work:
```bash
WS="$(.venv/bin/python scripts/sbconfig.py workspace)"
```
If it fails, say the projects folder is unavailable and skip the local repos.
Shell variables do not survive between commands: redefine `WS` in every block that uses it.
- The project's repos are the values of `repos:` in the hub, relative to `$WS`. If a repo does not exist on this machine, say so and continue.
- Read the README, `docs/`, ADRs, CHANGELOG and the relevant code, without entering dependency, build or cache folders (list in "Data sources" of `AGENTS.md`).
- To search the code of a git repo use the tracked files, which exclude dependencies and builds on their own (everything in `.gitignore`):
```bash
WS="$(.venv/bin/python scripts/sbconfig.py workspace)"
git -C "$WS/<repo>" grep -n -I "<term>" # text, tracked files only
git -C "$WS/<repo>" ls-files | grep -i "<name>" # files by name
```
Do not use `git grep -m`: the macOS git version does not support it.
- Recent work:
```bash
WS="$(.venv/bin/python scripts/sbconfig.py workspace)"
git -C "$WS/<repo>" log --since="2 weeks ago" --date=short --format='%ad %an %s'
```
- Read-only commands only. Do not fetch or pull: warn that the local repo may not be in sync with the remote.
## 4. Search external sources
If you still need more, or the question is about the current state (open tickets, updated pages, recent emails), use the tools you have for Jira, Confluence, Google Drive and Gmail, targeting them with the hub's keys:
- Jira: JQL `project in (<jira>)` plus the question's filters (e.g. `AND statusCategory != Done`);
- Confluence: CQL `space in (<confluence_spaces>)` plus the terms;
- Drive: the folders in `drive_folders`;
- Gmail: project, client and people names.
Read-only. If a tool is unavailable or fails, note it.
## 5. Answer
- The answer first, concise and in the user's language, then the sources.
- Always cite: `[[wikilink]]` for notes, URL for external sources, `<repo>:<file path>` for code.
- If a source was unavailable, state that the answer is partial and what is missing.
- If sources contradict each other, say so and point to the most recent one.
## 6. Propose saving
If outside the vault you found new, useful information (a decision, an updated status), ask the user whether to save it. Only on confirmation, run the `capture` skill with that information and the links to the sources.