Mongodb Backups
TheDecipherist/claude-code-mastery-project-starter-kit
Production MongoDB backup and restore practices that the documentation gets wrong.
ABP MongoDB patterns - AbpMongoDbContext, IMongoCollection, MongoDbRepository, no migrations, embedded documents vs references, manual UpdateAsync required.
$ npx skills add abpframework/abp --skill abp-mongodb -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install abpframework/abp abp-mongodb --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/abpframework/abp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/abp-mongodb .claude/skills/abp-mongodb && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "abp-mongodb" agent skill from https://github.com/abpframework/abp/tree/dev/.agents/skills/abp-mongodb into .claude/skills/abp-mongodb/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "abp-mongodb", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/abpframework/abp/tree/dev/.agents/skills/abp-mongodbType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add abpframework/abp --skill abp-mongodb -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install abpframework/abp abp-mongodb --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/abpframework/abp.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/abp-mongodb .agents/skills/abp-mongodb && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "abp-mongodb" agent skill from https://github.com/abpframework/abp/tree/dev/.agents/skills/abp-mongodb into .agents/skills/abp-mongodb/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "abp-mongodb", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add abpframework/abp --skill abp-mongodb -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install abpframework/abp abp-mongodb --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/abpframework/abp.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/abp-mongodb .cursor/skills/abp-mongodb && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "abp-mongodb" agent skill from https://github.com/abpframework/abp/tree/dev/.agents/skills/abp-mongodb into .cursor/skills/abp-mongodb/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "abp-mongodb", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/abpframework/abp.git --path .agents/skills/abp-mongodb--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add abpframework/abp --skill abp-mongodb -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install abpframework/abp abp-mongodb --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/abpframework/abp.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/abp-mongodb .gemini/skills/abp-mongodb && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "abp-mongodb" agent skill from https://github.com/abpframework/abp/tree/dev/.agents/skills/abp-mongodb into .gemini/skills/abp-mongodb/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "abp-mongodb", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install abpframework/abp abp-mongodbInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add abpframework/abp --skill abp-mongodb -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/abpframework/abp.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/abp-mongodb .github/skills/abp-mongodb && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "abp-mongodb" agent skill from https://github.com/abpframework/abp/tree/dev/.agents/skills/abp-mongodb into .github/skills/abp-mongodb/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "abp-mongodb", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add abpframework/abp --skill abp-mongodb -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install abpframework/abp abp-mongodb --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/abpframework/abp.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/abp-mongodb .opencode/skills/abp-mongodb && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "abp-mongodb" agent skill from https://github.com/abpframework/abp/tree/dev/.agents/skills/abp-mongodb into .opencode/skills/abp-mongodb/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "abp-mongodb", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
abp-mongodbABP MongoDB patterns - AbpMongoDbContext, IMongoCollection, MongoDbRepository, no migrations, embedded documents vs references, manual UpdateAsync required.
Abp Mongodb is an agent skill from abpframework/abp. ABP MongoDB patterns - AbpMongoDbContext, IMongoCollection, MongoDbRepository, no migrations, embedded documents vs references, manual UpdateAsync required. Use when working in MongoDB projects or implementing MongoDB repositories in ABP.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering NoSQL databases. It works with MongoDB. The repository describes itself as: Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides… The licence is LGPL-3.0.
Read from SKILL.md and the folder at commit a54b599. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are csharp and json).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
abp.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Abp Mongodb loads about 1.4k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 118 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from abpframework/abp at commit a54b599, republished under its LGPL-3.0 licence (© abpframework). 118 words, ~1,381 tokens.
.claude/skills/abp-mongodb/SKILL.md (or your agent's skills folder).[ConnectionStringName("Default")]
public class MyProjectMongoDbContext : AbpMongoDbContext
{
public IMongoCollection<Book> Books => Collection<Book>();
public IMongoCollection<Author> Authors => Collection<Author>();
protected override void CreateModel(IMongoModelBuilder modelBuilder)
{
base.CreateModel(modelBuilder);
modelBuilder.ConfigureMyProject();
}
}public static class MyProjectMongoDbContextExtensions
{
public static void ConfigureMyProject(this IMongoModelBuilder builder)
{
Check.NotNull(builder, nameof(builder));
builder.Entity<Book>(b =>
{
b.CollectionName = MyProjectConsts.DbTablePrefix + "Books";
});
builder.Entity<Author>(b =>
{
b.CollectionName = MyProjectConsts.DbTablePrefix + "Authors";
});
}
}public class BookRepository : MongoDbRepository<MyProjectMongoDbContext, Book, Guid>, IBookRepository
{
public BookRepository(IMongoDbContextProvider<MyProjectMongoDbContext> dbContextProvider)
: base(dbContextProvider)
{
}
public async Task<Book> FindByNameAsync(
string name,
bool includeDetails = true,
CancellationToken cancellationToken = default)
{
return await (await GetQueryableAsync())
.FirstOrDefaultAsync(
b => b.Name == name,
GetCancellationToken(cancellationToken));
}
public async Task<List<Book>> GetListByAuthorAsync(
Guid authorId,
bool includeDetails = false,
CancellationToken cancellationToken = default)
{
return await (await GetQueryableAsync())
.Where(b => b.AuthorId == authorId)
.ToListAsync(GetCancellationToken(cancellationToken));
}
}[DependsOn(typeof(AbpMongoDbModule))]
public class MyProjectMongoDbModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddMongoDbContext<MyProjectMongoDbContext>(options =>
{
// Add default repositories for aggregate roots only (DDD best practice)
options.AddDefaultRepositories();
// ⚠️ Avoid includeAllEntities: true - breaks DDD data consistency
});
}
}In appsettings.json:
{
"ConnectionStrings": {
"Default": "mongodb://localhost:27017/MyProjectDb"
}
}MongoDB is schema-less; no migrations needed. Changes to entity structure are handled automatically.
Often ignored in MongoDB because documents typically embed related data:
public async Task<List<Book>> GetListAsync(
bool includeDetails = false, // Usually ignored
CancellationToken cancellationToken = default)
{
// MongoDB documents already include nested data
return await (await GetQueryableAsync())
.ToListAsync(GetCancellationToken(cancellationToken));
}// Embedded (stored in same document)
public class Order : AggregateRoot<Guid>
{
public List<OrderLine> Lines { get; set; } // Embedded
}
// Reference (separate collection, store ID only)
public class Order : AggregateRoot<Guid>
{
public Guid CustomerId { get; set; } // Reference by ID
}MongoDB doesn't track entity changes automatically:
public async Task UpdateBookAsync(Guid id, string newName)
{
var book = await _bookRepository.GetAsync(id);
book.SetName(newName);
// Must explicitly update
await _bookRepository.UpdateAsync(book);
}public async Task CustomOperationAsync()
{
var collection = await GetCollectionAsync();
// Use MongoDB driver directly
var filter = Builders<Book>.Filter.Eq(b => b.AuthorId, authorId);
var update = Builders<Book>.Update.Set(b => b.IsPublished, true);
await collection.UpdateManyAsync(filter, update);
}Configure indexes in repository or via MongoDB driver:
public class BookRepository : MongoDbRepository<MyProjectMongoDbContext, Book, Guid>, IBookRepository
{
public override async Task<IQueryable<Book>> GetQueryableAsync()
{
var collection = await GetCollectionAsync();
// Ensure index exists
var indexKeys = Builders<Book>.IndexKeys.Ascending(b => b.Name);
await collection.Indexes.CreateOneAsync(new CreateIndexModel<Book>(indexKeys));
return await base.GetQueryableAsync();
}
}GetCancellationToken(cancellationToken) for proper cancellation© abpframework, LGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/abp-mongodb of abpframework/abp.
Open the folder on GitHubat commit a54b599
Abp Mongodb next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Abp Mongodb this skillabpframework/abp | 14k | — | ~1.4k | Automated safety check: Pass | LGPL-3.0 | |
| Mongodb BackupsTheDecipherist/claude-code-mastery-project-starter-kit | 338 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Mongodbsickn33/agentic-awesome-skills | 47k | 2 repos | ~2.7k | Automated safety check: Notes | MIT | |
| Mongodb Qe Size Estimationmongodb/agent-skills | 190 | — | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| MongodbRightNow-AI/openfang | 18k | — | ~821 | Automated safety check: Pass | Apache-2.0 | |
| Mongodb RulesTheDecipherist/claude-code-mastery-project-starter-kit | 338 | — | ~1.7k | Automated safety check: Pass | MIT |
TheDecipherist/claude-code-mastery-project-starter-kit
Production MongoDB backup and restore practices that the documentation gets wrong.
sickn33/agentic-awesome-skills
Administer MongoDB databases. An agent skill from sickn33/agentic-awesome-skills.
mongodb/agent-skills
Estimates the storage and memory impact of encrypting fields in collections with Queryable Encryption (QE) enabled.
RightNow-AI/openfang
MongoDB operations expert for queries, aggregation pipelines, indexes, and schema design
TheDecipherist/claude-code-mastery-project-starter-kit
Native-driver, StrictDB, and data-modeling rules for MongoDB.
jabrena/plinth
A skill your agent uses when you need MongoDB persistence in Quarkus — including Panache Mongo entities/repositories, document design, indexes, transactions where applicable, and error handling.
abpframework/abp
ABP Angular UI patterns - generate-proxy, ListService, PermissionGuard, abpLocalization pipe, ConfirmationService, ToasterService, ConfigStateService.
abpframework/abp
ABP Single-Layer (No-Layers / nolayers) application template - single project structure, feature-based file organization, no separate Domain/Application.Contracts projects.
abpframework/abp
ABP Application Services, DTOs, CRUD service, object mapping (Mapperly/AutoMapper), validation, error handling.
abpframework/abp
ABP permission system - PermissionDefinitionProvider, [Authorize] attribute, CheckPolicyAsync, IsGrantedAsync, ICurrentUser, IPermissionManager, multi-tenancy side.
abpframework/abp
ABP Blazor UI patterns - AbpComponentBase, AbpCrudPageBase, DataGrid, IMenuContributor, Message/Notify, Validations, JavaScript interop.
abpframework/abp
ABP CLI commands - generate-proxy, install-libs, add-package-ref, new-module, install-module, abp update, abp clean, abp suite generate.
Works with
Categories
ABP MongoDB patterns - AbpMongoDbContext, IMongoCollection, MongoDbRepository, no migrations, embedded documents vs references, manual UpdateAsync required. Abp Mongodb is an agent skill from abpframework/abp. ABP MongoDB patterns - AbpMongoDbContext, IMongoCollection, MongoDbRepository, no migrations, embedded documents vs references, manual UpdateAsync required.
Abp Mongodb fits situations like: working in MongoDB projects; implementing MongoDB repositories in ABP.
Run `npx skills add abpframework/abp --skill abp-mongodb -a claude-code`. Or copy the skill folder (.agents/skills/abp-mongodb in abpframework/abp) into .claude/skills/abp-mongodb in your project. Claude Code loads it when a task matches its description.
Run `npx skills add abpframework/abp --skill abp-mongodb -a codex`. Or copy the skill folder (.agents/skills/abp-mongodb in abpframework/abp) into .agents/skills/abp-mongodb in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add abpframework/abp --skill abp-mongodb -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/abp-mongodb, .gemini/skills/abp-mongodb, .github/skills/abp-mongodb and .opencode/skills/abp-mongodb in your project.
SKILL.md names no scripts, command-line tools or credentials: Abp Mongodb is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: abp.io. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Abp Mongodb is published under the LGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Abp Mongodb: Mongodb Backups (TheDecipherist/claude-code-mastery-project-starter-kit, 338 stars), Mongodb (sickn33/agentic-awesome-skills, 47k stars), Mongodb Qe Size Estimation (mongodb/agent-skills, 190 stars) and Mongodb (RightNow-AI/openfang, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
abpframework (a GitHub organization) maintains it in abpframework/abp, which has 14,443 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 8, 2026.
Source: abpframework/abp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.