Agent skill · Audited from source
Feature Flags
skill · marcus/sidecarMIT licenceAudited 10 Oct 2026 · source a69114b893d1
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit a69114b893d1 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Creating and using feature flags in sidecar for gating experimental functionality. Covers flag registration, checking flags in code, config file and CLI overrides, and priority resolution. Use when adding feature flags,…
Cite
Cite this page
ModelsAtlas. “Feature Flags (marcus/sidecar)”. Retrieved 10 Oct 2026. https://modelsatlas.com/skills/marcus/feature-flags
3 skills are called “Feature Flags”. You are viewing marcus/sidecar.
- marcus/sidecar★ 1.1k✓SAFE
- facebook/react★ 252k✓SAFE
- dadbodgeoff/drift★ 790✓SAFE
Trust audit
Audit 0.4.1 · source read 10 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 2 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (2)
MEDIUMInventory / provenanceinv.symlink · .codex/skills
.codex/skills
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · GEMINI.md
GEMINI.md
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha a69114b893d1 · 10 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishermarcus GitHub userOwner of the repository this skill is read from
- Source foldermarcus/sidecar/.claude/skills/feature-flagsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdicta69114b893d1A new audit runs when the source changes
- Repository statusNot archivedLast push 2 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Creating and using feature flags in sidecar for gating experimental functionality. Covers flag registration, checking flags in code, config file and CLI overrides, and priority resolution. Use when adding feature flags,…
---
name: feature-flags
description: Creating and using feature flags in sidecar for gating experimental functionality. Covers flag registration, checking flags in code, config file and CLI overrides, and priority resolution. Use when adding feature flags, toggling features, or gating new functionality behind flags.
user-invocable: false
---
# Feature Flags
Feature flags gate experimental functionality behind user-configurable settings, enabling safe rollout (default off), user opt-in, and easy rollback.
## Checking Feature State
```go
import "github.com/marcus/sidecar/internal/features"
if features.IsEnabled("tmux_interactive_input") {
// Feature-gated code
}
```
## Adding a New Feature Flag
1. Define the feature in `internal/features/features.go`:
```go
var MyNewFeature = Feature{
Name: "my_new_feature",
Default: false,
Description: "Description of what this enables",
}
```
2. Add to the `allFeatures` slice:
```go
var allFeatures = []Feature{
TmuxInteractiveInput,
MyNewFeature, // Add here
}
```
3. Use the feature check in your code:
```go
if features.IsEnabled("my_new_feature") {
// New functionality
}
```
That is all a flag needs to be reachable. Configuration → System → **Feature
Flags** derives its list from `features.ListAll()`, so registering a feature
puts a working switch on the page with the registry's own `Name` as the label
and `Description` as the help text. There is no second list to remember.
## Giving a flag better copy (optional)
`previewCopy` in `internal/configui/page_flags.go` overrides the registry's
wording per flag. Only fill in what you want to change:
```go
features.MyNewFeature.Name: {
label: "Human-readable name",
help: "One sentence on what turning this on does.",
restart: true, // only if a consumer reads it once at startup
note: "An honest scope line for a flag that applies live but not retroactively.",
},
```
`restart` must be checked against what actually consumes the flag, never added
as blanket caution — a flag read at the point of use applies immediately and
must not claim otherwise. Both `restart` and `note` render when both are set.
**A flag that another page already owns as a first-class setting** sets `owner`
and `ownerControl` instead. It is then listed read-only with a jump to the
control that owns it, because two switches over one value is how surfaces start
disagreeing. If the owning page's control means more than the raw flag — Panels'
Conversations switch is the flag *and* the plugin's own `enabled` key — also set
`reads` so the row reports the owner's answer rather than the flag's.
**Keep the page shorter than a small terminal.** The Configuration detail pane
truncates rather than scrolling, and the row cursor still walks onto rows that
were cut. Rows are one line each with the explanation shown only under the
focused row for that reason; `TestFlagsPageFitsAnOrdinaryTerminal` guards it.
## User Configuration
### Config file (`~/.config/sidecar/config.json`)
```json
{
"features": {
"flags": {
"tmux_interactive_input": true
}
}
}
```
### CLI override (takes precedence over config)
```bash
sidecar --enable-feature=tmux_interactive_input
sidecar --disable-feature=tmux_interactive_input
sidecar --enable-feature=feature1,feature2 # Multiple features
```
Unknown feature names in CLI flags produce a warning but do not prevent startup.
## Priority Order
Feature state resolves in this order (first match wins):
1. CLI override (`--enable-feature`, `--disable-feature`)
2. Config file (`features.flags` in config.json)
3. Default value (defined in code)
## Available Features
| Feature | Default | Description |
|---------|---------|-------------|
| `tmux_interactive_input` | true | Write support for tmux panes |
| `tmux_full_attach` | false | Suspend Sidecar and `tmux attach-session` |
| `tmux_inline_edit` | true | Inline file editing via tmux in files plugin |
| `notes_plugin` | true | Project Notes while the td panel is enabled |
| `tasks_plugin` | false | Embedded Tasks plugin tab |
| `conversations_plugin` | false | Conversations multi-agent history tab (off = no adapters / session I/O) |
| `workspace_terminal_panel` | true | Workspace Ctrl+T / Alt+T split terminal panel |
## API Reference
```go
features.IsEnabled(name string) bool // Check if enabled
features.List() map[string]bool // All features with current state
features.ListAll() []Feature // All features with metadata
features.SetEnabled(name string, enabled bool) error // Persist to config
features.SetOverride(name string, enabled bool) // Runtime override (not persisted)
features.IsKnownFeature(name string) bool // Check if registered
```
## Best Practices
- Use `snake_case` for feature names (e.g., `my_new_feature`)
- New experimental features should default to `false`
- Provide clear descriptions for each feature
- Document features in `docs/guides/deprecated/feature-flags.md` when adding them
- Remove feature flags once features are stableExcerpt, first 5,096 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit a69114b
git clone https://github.com/marcus/sidecar git -C sidecar checkout a69114b893d1
The author documents no install command, so this uses the repository directly. Our verdict covers commit a69114b893d1 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
a69114b893d1
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/marcus/feature-flags/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All automation skills →marcus/sidecar
Create conversation adapters for importing AI chat history from different tools (Claude Code, Cursor, Warp, Codex, etc.). Covers the adapter.Adapter interface, caching strategies, incremental parsing, watch/FD…
marcus/sidecar
Create declarative modals using the modal library API. Covers modal types (confirm, input, select, form), sections (Text, Buttons, Input, Textarea, Checkbox, Select, List, Combo, When, Custom), rendering with…
marcus/sidecar
Create new sidecar plugins implementing the plugin.Plugin interface, rendering views with Bubble Tea, handling keyboard input via keymap contexts, and integrating with the app shell (footer hints, event bus, adapters).…
marcus/sidecar
Create prompts for sidecar workspaces. Covers prompt structure (name, ticketMode, body), template variables (ticket with fallbacks), config file locations (global vs project), and scope overrides. Use when creating or…
marcus/sidecar
Create custom color themes for Sidecar, including base theme selection, color overrides, gradient borders, tab styles, per-project themes, community themes, and programmatic theme registration. Use when creating or…
marcus/sidecar
Drag-and-drop pane resizing implementation for two-pane plugin layouts. Covers mouse event handling via the internal/mouse package, hit region registration, drag delta calculation, width clamping, state persistence, and…
Add this badge to your README
[](https://modelsatlas.com/skills/marcus/feature-flags/)
<a href="https://modelsatlas.com/skills/marcus/feature-flags/"><img src="https://modelsatlas.com/skills/marcus/feature-flags/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Feature Flags
What does the Feature Flags skill do?
Is Feature Flags safe to install?
What can Feature Flags access on my machine?
Which assistants does Feature Flags work with?
How current is this page?
Sources
- github.com/marcus/sidecar/tree/main/.claude/skills/feature-flags — the audited source at commit a69114b893d1 and every finding aboveObserved · 10 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Feature Flags skill do?
- Is Feature Flags safe to install?
- What can Feature Flags access on my machine?