In general, if the mod you add is easily removed back to OEM condition, then there's always the option of selling the gun in factory configuration and trying to sell the add-on parts separately.
Once the gun and new parts are "used", you aren't going to recoup the cost of either 100% unless the market places a premium on them -- like if they are no longer available new.
It really comes down to (1) can you find a buyer who wants, appreciates and values the mod knowing it cost you $X to upgrade it, and (2) whether the mod is permanent or can easily be reverted to the original config.
For some, they might not want to pay more than market value just because it has mods they can live without.
If the gun is worth $800, and the mod would cost $200 current market cost, then you really have a $1,000 item. I wouldn't negotiate much less than that unless I really needed to make the sale knowing someone willing to meet my price might be around the corner.
Just my 2 cents. There's no real rule when it comes to asking prices for anything. Just ask yourself whether you would be willing to pay what you're asking compared to similar items available from other sellers.